src/sap.ui.core/src/sap/ui/model/odata/type/Time.js
function getErrorMessage(oType) {
		return sap.ui.getCore().getLibraryResourceBundle().getText("EnterTime",
			[oType.formatValue(oDemoTime, "string")]);
	}
function getErrorMessage(oType) {
		return sap.ui.getCore().getLibraryResourceBundle().getText("EnterTime",
			[oType.formatValue(oDemoTime, "string")]);
	}
function getErrorMessage ( oType ) { return sap . ui . getCore ( ) . getLibraryResourceBundle ( ) . getText ( "EnterTime" , [ oType . formatValue ( oDemoTime , "string" ) ] ) ; }
Returns the locale-dependent error message.

@param {sap.ui.model.odata.type.Time} oType
the type
@returns {string}
the locale-dependent error message
@private
Returns the locale - dependent error message .