code: function adjustConstraints(oType, oConstraints) {
  		var oAdjustedConstraints = {};
  
  		if (oConstraints) {
  			switch (oConstraints.displayFormat) {
  			case "Date":
  				oAdjustedConstraints.isDateOnly = true;
  				break;
  			case undefined:
  				break;
  			default:
  				Log.warning("Illegal displayFormat: " + oConstraints.displayFormat,
  					null, oType.getName());
  			}
  			oAdjustedConstraints.nullable = oConstraints.nullable;
  		}
  		return oAdjustedConstraints;
  	}
docs: Adjusts the constraints for DateTimeBase.
  
  @param {sap.ui.model.odata.type.DateTime} oType
  the type
  @param {object} [oConstraints]
  constraints, see {@link #constructor}
  @returns {object}
  the constraints adjusted for DateTimeBase