| |
|
| java.lang.Object org.quartz.impl.calendar.BaseCalendar org.quartz.impl.calendar.MonthlyCalendar
Method Summary | |
public boolean | areAllDaysExcluded()
Check if all days are excluded. | public boolean[] | getDaysExcluded()
Get the array which defines the exclude-value of each day of month. | 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 day)
Return true, if day is defined to be excluded. | public boolean | isTimeIncluded(long timeStamp)
Determine whether the given time (in milliseconds) is 'included' by the
Calendar. | public void | setDayExcluded(int day, boolean exclude)
Redefine a certain day of the month to be excluded (true) or included
(false). | public void | setDaysExcluded(boolean[] days)
Redefine the array of days excluded. |
serialVersionUID | final static long serialVersionUID(Code) | | |
MonthlyCalendar | public MonthlyCalendar()(Code) | | |
areAllDaysExcluded | public boolean areAllDaysExcluded()(Code) | |
Check if all days are excluded. That is no day is included.
|
getDaysExcluded | public boolean[] getDaysExcluded()(Code) | |
Get the array which defines the exclude-value of each day of month.
Only the first 31 elements of the array are relevant, with the 0 index
element representing the first day of the month.
|
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 day)(Code) | |
Return true, if day is defined to be excluded.
Parameters: day - The day of the month (from 1 to 31) to check. |
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 day, boolean exclude)(Code) | |
Redefine a certain day of the month to be excluded (true) or included
(false).
Parameters: day - The day of the month (from 1 to 31) to set. |
setDaysExcluded | public void setDaysExcluded(boolean[] days)(Code) | |
Redefine the array of days excluded. The array must non-null and of size
greater or equal to 31. The 0 index element represents the first day of
the month.
|
Fields inherited from org.quartz.impl.calendar.BaseCalendar | final static long serialVersionUID(Code)(Java Doc)
|
|
|
|