|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.treesched.AbstractSchedule
org.treesched.schedules.DayAfterSchedule
A schedule that returns the day after when a child schedule is due. This is designed to be used for processing which happens the day after, i.e. processing previous business days data.
Typical configuration is:
<dayafter>
<dayofmonth from="25" to="0">
<last>
<dayofweek from="mon" to="fri">
<daily/gt;
</dayofweek>
</last>h;
</dayofmonth>
</dayafter>
| Constructor Summary | |
DayAfterSchedule()
|
|
| 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. |
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 DayAfterSchedule()
| Method Detail |
public Interval nextDue(java.util.Date now)
ScheduleIf the schedule is never due again for the given date, null is returned.
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 | ||||||||