Package mondrian.util
Class OnceTimeSchedule
- java.lang.Object
-
- mondrian.util.OnceTimeSchedule
-
- All Implemented Interfaces:
TimeSchedule
class OnceTimeSchedule extends Object implements TimeSchedule
AOnceTimeSchedule
fires at one and only one time.
-
-
Constructor Summary
Constructors Constructor Description OnceTimeSchedule(Calendar time)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Calendar
nextOccurrence(Calendar after, boolean strict)
Returns the next occurrence at or afterafter
.
-
-
-
Field Detail
-
time
Calendar time
-
-
Constructor Detail
-
OnceTimeSchedule
OnceTimeSchedule(Calendar time)
-
-
Method Detail
-
nextOccurrence
public Calendar nextOccurrence(Calendar after, boolean strict)
Description copied from interface:TimeSchedule
Returns the next occurrence at or afterafter
. Ifafter
is null, returns the first occurrence. If there are no further occurrences, returns null.- Specified by:
nextOccurrence
in interfaceTimeSchedule
strict
- if true, return time must be afterafter
, not equal to it
-
-