code: function (date) {
              if (this.hours < this.minHours) {
                  this.hours = this.minHours;
              } else if (this.hours > this.maxHours) {
                  this.hours = this.maxHours;
              }
  
              if (this.minutes < this.minMinutes) {
                  this.minutes = this.minMinutes;
              } else if (this.minutes > this.maxMinutes) {
                  this.minutes = this.maxMinutes;
              }
          }
docs: Looks for min/max hours/minutes and if current values
  are out of range sets valid values.
  @private