code: function getErrorMessage(oType) {
  		return sap.ui.getCore().getLibraryResourceBundle().getText(
  			isDateOnly(oType) ? "EnterDate" : "EnterDateTime",
  				[oType.formatValue(isDateOnly(oType) ? oDemoDate : oDemoDateTime, "string")]);
  	}
docs: /*
  Returns the matching locale-dependent error message for the type based on the constraints.
  
  @param {sap.ui.model.odata.type.DateTimeBase} oType
  The type
  @returns {string}
  The locale-dependent error message