Package com.aoindustries.util.schedule
Class Recurring.DayOfWeekList
- java.lang.Object
-
- com.aoindustries.util.schedule.Recurring
-
- com.aoindustries.util.schedule.Recurring.DayOfWeekList
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.aoindustries.util.schedule.Recurring
Recurring.DayOfWeekList, Recurring.Every, Recurring.MonthList
-
-
Constructor Summary
Constructors Constructor Description DayOfWeekList(Collection<DayOfWeek> daysOfWeek)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcheckScheduleFrom(Calendar from, String attribute)Checks if the schedule can start on the given day.booleanequals(Object o)Recurring schedules are equal when they have both the same type and schedule.StringgetRecurringDisplay()Iterator<Calendar>getScheduleIterator(Calendar from)Gets an iterator over dates in the YYYY-MM-DD format.inthashCode()
-
-
-
Constructor Detail
-
DayOfWeekList
public DayOfWeekList(Collection<DayOfWeek> daysOfWeek)
-
-
Method Detail
-
equals
public boolean equals(Object o)
Description copied from class:RecurringRecurring schedules are equal when they have both the same type and schedule.
-
getRecurringDisplay
public String getRecurringDisplay()
- Specified by:
getRecurringDisplayin classRecurring
-
checkScheduleFrom
public String checkScheduleFrom(Calendar from, String attribute)
Description copied from class:RecurringChecks if the schedule can start on the given day. Returns null if OK or a string reason of why not OK.- Overrides:
checkScheduleFromin classRecurring
-
-