public class NowSchedule extends java.lang.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.
|
java.lang.String |
toString() |
public ScheduleResult nextDue(ScheduleContext context)
Schedule
If the schedule is never due again for the given date, null is returned.
public java.lang.String toString()
toString
in class java.lang.Object