dist/js/datepicker.js
function (date) {
            this._setDefaultMinMaxTime();
            if (date) {
                if (dp.isSame(date, this.d.opts.minDate)) {
                    this._setMinTimeFromDate(this.d.opts.minDate);
                } else if (dp.isSame(date, this.d.opts.maxDate)) {
                    this._setMaxTimeFromDate(this.d.opts.maxDate);
                }
            }

            this._validateHoursMinutes(date);
        }
function (date) {
            this._setDefaultMinMaxTime();
            if (date) {
                if (dp.isSame(date, this.d.opts.minDate)) {
                    this._setMinTimeFromDate(this.d.opts.minDate);
                } else if (dp.isSame(date, this.d.opts.maxDate)) {
                    this._setMaxTimeFromDate(this.d.opts.maxDate);
                }
            }

            this._validateHoursMinutes(date);
        }
function ( date ) { this . _setDefaultMinMaxTime ( ) ; if ( date ) { if ( dp . isSame ( date , this . d . opts . minDate ) ) { this . _setMinTimeFromDate ( this . d . opts . minDate ) ; } else if ( dp . isSame ( date , this . d . opts . maxDate ) ) { this . _setMaxTimeFromDate ( this . d . opts . maxDate ) ; } } this . _validateHoursMinutes ( date ) ; }
Sets minHours, minMinutes etc. from date. If date is not passed, than sets
values from options
@param [date] {object} - Date object, to get values from
@private
Sets minHours minMinutes etc . from date . If date is not passed than sets values from options