code: public void setWeekDay(String weekDayStr) {
  
          final WeekDay weekDay = WeekDay.valueOf(weekDayStr);
          if ((m_model.getWeekDay() != null) || !m_model.getWeekDay().equals(weekDay)) {
              removeExceptionsOnChange(new Command() {
  
                  public void execute() {
  
                      m_model.setWeekDay(weekDay);
                      onValueChange();
                  }
              });
  
          }
  
      }
docs: Set the week day.
  @param weekDayStr the week day to set.