mondrian.util
Class OnceTimeSchedule
java.lang.Object
mondrian.util.OnceTimeSchedule
- All Implemented Interfaces:
- TimeSchedule
class OnceTimeSchedule
- extends Object
- implements TimeSchedule
A OnceTimeSchedule
fires at one and only one time.
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
time
Calendar time
OnceTimeSchedule
OnceTimeSchedule(Calendar time)
nextOccurrence
public Calendar nextOccurrence(Calendar after,
boolean strict)
- Description copied from interface:
TimeSchedule
- Returns the next occurrence at or after
after
. If
after
is null, returns the first occurrence. If there are
no further occurrences, returns null.
- Specified by:
nextOccurrence
in interface TimeSchedule
strict
- if true, return time must be after after
, not
equal to it