public void setWeekDay(String dayString) {

        final WeekDay day = WeekDay.valueOf(dayString);
        if (m_model.getWeekDay() != day) {
            removeExceptionsOnChange(new Command() {

                public void execute() {

                    m_model.setWeekDay(day);
                    onValueChange();
                }
            });
        }

    }
public void setWeekDay ( String dayString ) { final WeekDay day = WeekDay . valueOf ( dayString ) ; if ( m_model . getWeekDay ( ) != day ) { removeExceptionsOnChange ( new Command ( ) { public void execute ( ) { m_model . setWeekDay ( day ) ; onValueChange ( ) ; } } ) ; } }
Set the week day the event should take place.
@param dayString the day as string.