|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The interface that defines a schedule.
| Method Summary | |
Interval |
nextDue(java.util.Date now)
For a given date a schedule will provide the interval this schedule should next be scheduled in. |
void |
reset()
Reset the schedule. |
void |
setLimits(Interval limits)
Specifies limits for the schedule. |
| Method Detail |
public Interval nextDue(java.util.Date now)
If the schedule is never due again for the given date, null is returned.
now - The date now.
public void setLimits(Interval limits)
nextDue(Date)
must be within the limits.
A repeating schedule will also use the start of the limit to calculate the boundry between intervals.
limits - The interval which bounds the schedule.public void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||