Package mondrian.util

Class WeeklyDateSchedule

  • All Implemented Interfaces:
    DateSchedule

    class WeeklyDateSchedule
    extends java.lang.Object
    implements DateSchedule
    A WeeklyDateSchedule fires every week. A bitmap indicates which days of the week it fires.
    • Constructor Summary

      Constructors 
      Constructor Description
      WeeklyDateSchedule​(java.util.Calendar begin, int period, int daysOfWeekBitmap)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Calendar nextOccurrence​(java.util.Calendar earliest, boolean strict)
      Returns the next date when this schedule fires.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • period

        int period
      • beginOrdinal

        int beginOrdinal
      • daysOfWeekBitmap

        int daysOfWeekBitmap
    • Constructor Detail

      • WeeklyDateSchedule

        WeeklyDateSchedule​(java.util.Calendar begin,
                           int period,
                           int daysOfWeekBitmap)
    • Method Detail

      • nextOccurrence

        public java.util.Calendar nextOccurrence​(java.util.Calendar earliest,
                                                 boolean strict)
        Description copied from interface: DateSchedule
        Returns the next date when this schedule fires.
        Specified by:
        nextOccurrence in interface DateSchedule