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;
	}
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;
	}
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 ; }
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
Adjusts the constraints for DateTimeBase .
Adjusts the constraints of a type to be a date only