code: function parseAndCheck(oDateFormat, sValue) {
  			var oDate = oDateFormat.parse(sValue);
  			if (!oDate) {
  				throw new Error("Not a valid " + oPropertyMetadata.$Type + " value: " + sValue);
  			}
  			return oDate;
  		}
docs: Parse using the given formatter and check that the result is valid