public class NowSchedule extends Object implements Schedule
ScheduleType
examples show's now
being used to get the current date.Constructor and Description |
---|
NowSchedule() |
Modifier and Type | Method and Description |
---|---|
ScheduleResult |
nextDue(ScheduleContext context)
For a given date a schedule will provide the interval this schedule
should next be scheduled in.
|
String |
toString() |
public ScheduleResult nextDue(ScheduleContext context)
Schedule
If the schedule is never due again for the given date, null is returned.