code: function(element, options) {
      this.widget = '';
      this.$element = $(element);
      this.defaultTime = options.defaultTime;
      this.disableFocus = options.disableFocus;
      this.disableMousewheel = options.disableMousewheel;
      this.isOpen = options.isOpen;
      this.minuteStep = options.minuteStep;
      this.modalBackdrop = options.modalBackdrop;
      this.orientation = options.orientation;
      this.secondStep = options.secondStep;
      this.snapToStep = options.snapToStep;
      this.showInputs = options.showInputs;
      this.showMeridian = options.showMeridian;
      this.showSeconds = options.showSeconds;
      this.template = options.template;
      this.appendWidgetTo = options.appendWidgetTo;
      this.showWidgetOnAddonClick = options.showWidgetOnAddonClick;
      this.icons = options.icons;
      this.maxHours = options.maxHours;
      this.explicitMode = options.explicitMode; // If true 123 = 1:23, 12345 = 1:23:45, else invalid.
  
      this.handleDocumentClick = function (e) {
        var self = e.data.scope;
        // This condition was inspired by bootstrap-datepicker.
        // The element the timepicker is invoked on is the input but it has a sibling for addon/button.
        if (!(self.$element.parent().find(e.target).length ||
            self.$widget.is(e.target) ||
            self.$widget.find(e.target).length)) {
          self.hideWidget();
        }
      };
  
      this._init();
    }
docs: TIMEPICKER PUBLIC CLASS DEFINITION