|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.treesched.AbstractSchedule
org.treesched.schedules.LastSchedule
This schedule will return it's last due child schedule within the given parent interval.
This would typically be used to return the last working day of the month.
See the test cases for an example.
| Constructor Summary | |
LastSchedule()
|
|
| Method Summary | |
Interval |
nextDue(java.util.Date now)
Calculate the next due interval within the given interval. |
java.lang.String |
toString()
Override toString. |
| 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 LastSchedule()
| Method Detail |
public Interval nextDue(java.util.Date now)
nextDue in interface Schedulenow - The date now.
public java.lang.String toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||