Package mondrian.util

Class OnceTimeSchedule

  • All Implemented Interfaces:
    TimeSchedule

    class OnceTimeSchedule
    extends java.lang.Object
    implements TimeSchedule
    A OnceTimeSchedule fires at one and only one time.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Calendar time  
    • Constructor Summary

      Constructors 
      Constructor Description
      OnceTimeSchedule​(java.util.Calendar time)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Calendar nextOccurrence​(java.util.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

        java.util.Calendar time
    • Constructor Detail

      • OnceTimeSchedule

        OnceTimeSchedule​(java.util.Calendar time)
    • Method Detail

      • nextOccurrence

        public java.util.Calendar nextOccurrence​(java.util.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