Overview | Package | Class | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.treesched.schedules
Class WeeklySchedule

    java.lang.Object
      org.treesched.AbstractSchedule
          org.treesched.RegularSchedule
              org.treesched.schedules.WeeklySchedule

All Implemented Interfaces:
  RefineableSchedule, Schedule, java.io.Serializable

public final class WeeklySchedule
extends RegularSchedule
implements java.io.Serializable

Schedule for weekly events. This schedule will schedule it's sub schedules weekly. It will look forwared look-forward-weeks (default 52) weeks before returning NEVER.

Typical configuration: ``

     <weekly/>

Author:
  Rob Gordon
See Also:
  Serialized Form

Constructor Summary
`WeeklySchedule()`

Method Summary
`java.util.Date` | `next(java.util.Date from)` Given a date, return the date which is interval of this RegularScheudle later.

Methods inherited from class org.treesched.RegularSchedule
`nextDue, 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

### WeeklySchedule

    public WeeklySchedule()

Method Detail

### next

    public java.util.Date next(java.util.Date from)

  Description copied from class: `RegularSchedule`
  Given a date, return the date which is interval of this RegularScheudle later.

  Specified by:
    `next` in class `RegularSchedule`
  Parameters:
    `from` - The date from which this schedule runs.
  Returns:
    The interval later.

Overview | Package | Class | Tree | Deprecated | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD