mondrian.util
Class OnceTimeSchedule

java.lang.Object
  extended by mondrian.util.OnceTimeSchedule
All Implemented Interfaces:
TimeSchedule

 class OnceTimeSchedule
extends Object
implements TimeSchedule

A OnceTimeSchedule fires at one and only one time.

 

Field Summary
(package private)  Calendar time
           
 
Constructor Summary
OnceTimeSchedule(Calendar time)
           
 
Method Summary
 Calendar nextOccurrence(Calendar after, boolean strict)
          Returns the next occurrence at or after after.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 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

SourceForge.net_Logo