docs: public void setPatternScheme(final boolean isWeekDayBased) {
  
          if (isWeekDayBased ^ (null != m_model.getWeekDay())) {
              removeExceptionsOnChange(new Command() {
  
                  public void execute() {
  
                      if (isWeekDayBased) {
                          m_model.setWeekDay(getPatternDefaultValues().getWeekDay());
                          m_model.setWeekOfMonth(getPatternDefaultValues().getWeekOfMonth());
                      } else {
                          m_model.setWeekDay(null);
                          m_model.setWeekOfMonth(null);
                      }
                      m_model.setMonth(getPatternDefaultValues().getMonth());
                      m_model.setDayOfMonth(getPatternDefaultValues().getDayOfMonth());
                      m_model.setInterval(getPatternDefaultValues().getInterval());
                      onValueChange();
                  }
              });
          }
      }