|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.treesched.AbstractSchedule
org.treesched.RegularSchedule
This is a base class for schedule which repeat at intervals.
| Constructor Summary | |
RegularSchedule()
|
|
| Method Summary | |
abstract java.util.Date |
next(java.util.Date from)
Given a date, return the date which is interval of this RegularScheudle later. |
Interval |
nextDue(java.util.Date now)
For a given date a schedule will provide the interval this schedule should next be scheduled in. |
java.lang.String |
toString()
Override toString to be more meaningful. |
| Methods inherited from class org.treesched.AbstractSchedule |
addChildSchedule, getChildSchedule, getLimits, reset, setChildSchedule, setLimits |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RegularSchedule()
| Method Detail |
public abstract java.util.Date next(java.util.Date from)
from - The date from which this schedule runs.
public Interval nextDue(java.util.Date now)
ScheduleIf the schedule is never due again for the given date, null is returned.
now - The date now.
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||