} else {
dailyRecurrenceEditor.setEveryNDays();
}
} else if ( scheduleType == ScheduleType.WEEKLY ) {
int[] daysOfWeek = jsJobTrigger.getDayOfWeekRecurrences();
WeeklyRecurrenceEditor weeklyRecurrenceEditor = scheduleEditor.getRecurrenceEditor().getWeeklyEditor();
String strDays = ""; //$NON-NLS-1$
for ( int element2 : daysOfWeek ) {
strDays += Integer.toString( element2 ) + ","; //$NON-NLS-1$
}
weeklyRecurrenceEditor.setCheckedDaysAsString( strDays, 1 );
} else if ( scheduleType == ScheduleType.MONTHLY ) {
MonthlyRecurrenceEditor monthlyRecurrenceEditor = scheduleEditor.getRecurrenceEditor().getMonthlyEditor();
if ( jsJobTrigger.isQualifiedDayOfWeekRecurrence() ) {
// Run Every on ___day of Nth week every month
monthlyRecurrenceEditor.setDayOfWeek( TimeUtil.DayOfWeek.valueOf( jsJobTrigger.getQualifiedDayOfWeek() ) );