code: function(inst, date) {
  		var minDate = this._getMinMaxDate(inst, "min"),
  			maxDate = this._getMinMaxDate(inst, "max"),
  			newDate = (minDate && date < minDate ? minDate : date);
  		return (maxDate && newDate > maxDate ? maxDate : newDate);
  	}
docs: /* Ensure a date is within any min/max bounds.