public DailyTimeIntervalScheduleBuilder onDaysOfTheWeek(Integer... onDaysOfWeek){
  Set<Integer> daysAsSet=new HashSet<Integer>(12);
  Collections.addAll(daysAsSet,onDaysOfWeek);
  return onDaysOfTheWeek(daysAsSet);
}

public DailyTimeIntervalScheduleBuilder onDaysOfTheWeek ( Integer ... onDaysOfWeek ) { Set < Integer > daysAsSet = new HashSet < Integer > ( 12 ) ; Collections . addAll ( daysAsSet , onDaysOfWeek ) ; return onDaysOfTheWeek ( daysAsSet ) ; }
set the trigger to fire on the given days of the week .
