| |
|
| java.lang.Object org.quartz.impl.calendar.BaseCalendar org.quartz.impl.calendar.WeeklyCalendar
Method Summary | |
public boolean | areAllDaysExcluded()
Check if all week days are excluded. | public boolean[] | getDaysExcluded() | public long | getNextIncludedTime(long timeStamp)
Determine the next time (in milliseconds) that is 'included' by the
Calendar after the given time. | public boolean | isDayExcluded(int wday)
Return true, if wday (see Calendar.get()) is defined to be exluded. | public boolean | isTimeIncluded(long timeStamp)
Determine whether the given time (in milliseconds) is 'included' by the
Calendar. | public void | setDayExcluded(int wday, boolean exclude)
Redefine a certain day of the week to be excluded (true) or included
(false). | public void | setDaysExcluded(boolean[] weekDays)
Redefine the array of days excluded. |
serialVersionUID | final static long serialVersionUID(Code) | | |
WeeklyCalendar | public WeeklyCalendar()(Code) | | |
areAllDaysExcluded | public boolean areAllDaysExcluded()(Code) | |
Check if all week days are excluded. That is no day is included.
boolean |
getDaysExcluded | public boolean[] getDaysExcluded()(Code) | |
Get the array with the week days
|
getNextIncludedTime | public long getNextIncludedTime(long timeStamp)(Code) | |
Determine the next time (in milliseconds) that is 'included' by the
Calendar after the given time. Return the original value if timeStamp is
included. Return 0 if all days are excluded.
Note that this Calendar is only has full-day precision.
|
isDayExcluded | public boolean isDayExcluded(int wday)(Code) | |
Return true, if wday (see Calendar.get()) is defined to be exluded. E. g.
saturday and sunday.
|
isTimeIncluded | public boolean isTimeIncluded(long timeStamp)(Code) | |
Determine whether the given time (in milliseconds) is 'included' by the
Calendar.
Note that this Calendar is only has full-day precision.
|
setDayExcluded | public void setDayExcluded(int wday, boolean exclude)(Code) | |
Redefine a certain day of the week to be excluded (true) or included
(false). Use java.util.Calendar's constants like MONDAY to determine the
wday.
|
setDaysExcluded | public void setDaysExcluded(boolean[] weekDays)(Code) | |
Redefine the array of days excluded. The array must of size greater or
equal 8. java.util.Calendar's constants like MONDAY should be used as
index. A value of true is regarded as: exclude it.
|
Fields inherited from org.quartz.impl.calendar.BaseCalendar | final static long serialVersionUID(Code)(Java Doc)
|
|
|
|