src/sap.ui.core/src/sap/ui/model/odata/_AnnotationHelperExpression.js
function (sValue) {
			var aMatches = mEdmType2RegExp.DateTimeOffset.exec(sValue);
			if (aMatches && aMatches[1] && aMatches[1].length > 4) {
				// "round" to millis, BEWARE of the dot!
				sValue = sValue.replace(aMatches[1], aMatches[1].slice(0, 4));
			}

			return DateFormat.getDateTimeInstance({
				pattern : "yyyy-MM-dd'T'HH:mm:ss.SSSX",
				strictParsing : true
			}).parse(sValue.toUpperCase());
		}
function (sValue) {
			var aMatches = mEdmType2RegExp.DateTimeOffset.exec(sValue);
			if (aMatches && aMatches[1] && aMatches[1].length > 4) {
				// "round" to millis, BEWARE of the dot!
				sValue = sValue.replace(aMatches[1], aMatches[1].slice(0, 4));
			}

			return DateFormat.getDateTimeInstance({
				pattern : "yyyy-MM-dd'T'HH:mm:ss.SSSX",
				strictParsing : true
			}).parse(sValue.toUpperCase());
		}
function ( sValue ) { var aMatches = mEdmType2RegExp . DateTimeOffset . exec ( sValue ) ; if ( aMatches && aMatches [ 1 ] && aMatches [ 1 ] . length > 4 ) { // "round" to millis, BEWARE of the dot! sValue = sValue . replace ( aMatches [ 1 ] , aMatches [ 1 ] . slice ( 0 , 4 ) ) ; } return DateFormat . getDateTimeInstance ( { pattern : "yyyy-MM-dd'T'HH:mm:ss.SSSX" , strictParsing : true } ) . parse ( sValue . toUpperCase ( ) ) ; }
Parses an Edm.DateTimeOffset value and returns the corresponding JavaScript Date value.

@param {string} sValue
the Edm.DateTimeOffset value to parse
@returns {Date}
the JavaScript Date value or <code>null</code> in case the input could not be parsed
Parses an Edm . DateTimeOffset value and returns the corresponding JavaScript Date value .