code: function() {
          if (this.validate()) {
              this.hide();
  
              this.setMonth(this._getMonthFromUI());
              this.setYear(this._getYearFromUI());
  
              var cal = this.cal;
  
              // Artificial delay, just to help the user see something changed
              var delay = YAHOO.widget.CalendarNavigator.UPDATE_DELAY;
              if (delay > 0) {
                  var nav = this;
                  window.setTimeout(function(){ nav._update(cal); }, delay);
              } else {
                  this._update(cal);
              }
          }
      }
docs: Updates the Calendar/CalendarGroup's pagedate with the currently set month and year if valid.
  <p>
  If the currently set month/year is invalid, a validation error will be displayed and the
  Calendar/CalendarGroup's pagedate will not be updated.
  </p>
  @method submit