mondrian.util
Class WeeklyDateSchedule

java.lang.Object
  extended by mondrian.util.WeeklyDateSchedule
All Implemented Interfaces:
DateSchedule

 class WeeklyDateSchedule
extends Object
implements DateSchedule

A WeeklyDateSchedule fires every week. A bitmap indicates which days of the week it fires.


Field Summary
(package private)  int beginOrdinal
           
(package private)  int daysOfWeekBitmap
           
(package private)  int period
           
 
Constructor Summary
WeeklyDateSchedule(Calendar begin, int period, int daysOfWeekBitmap)
           
 
Method Summary
 Calendar nextOccurrence(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(Calendar begin,
                   int period,
                   int daysOfWeekBitmap)
Method Detail

nextOccurrence

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

Specified by:
nextOccurrence in interface DateSchedule

SourceForge.net_Logo