code: function setConstraints(oType, oConstraints) {
  		var vNullable,
  			vPrecision;
  
  		oType.oConstraints = undefined;
  		if (oConstraints) {
  			vNullable = oConstraints.nullable;
  			vPrecision = oConstraints.precision;
  			// "true" and "false" not allowed here, because in V4 they are never sent as string
  			if (vNullable === false) {
  				oType.oConstraints = {nullable : false};
  			} else if (vNullable !== undefined && vNullable !== true) {
  				Log.warning("Illegal nullable: " + vNullable, null, oType.getName());
  			}
  			if (vPrecision === Math.floor(vPrecision) && vPrecision > 0 && vPrecision <= 12) {
  				oType.oConstraints = oType.oConstraints || {};
  				oType.oConstraints.precision = vPrecision;
  			} else if (vPrecision !== undefined && vPrecision !== 0) {
  				Log.warning("Illegal precision: " + vPrecision, null, oType.getName());
  			}
  		}
  	}
docs: /*
  Sets the constraints. Logs a warning and uses the constraint's default value, if an invalid
  value is given.
  
  @param {sap.ui.model.odata.type.TimeOfDay} oType
  The type
  @param {object} [oConstraints]
  The constraints
  @param {boolean} [oConstraints.nullable=true]
  If <code>true</code>, the value <code>null</code> is valid for this type
  @param {number} [oConstraints.precision=0]
  The number of decimal places allowed in the seconds portion of a valid value; only
  integer values between 0 and 12 are valid.