Class SchedulerCalendar
java.lang.Object
com.swiftmq.impl.scheduler.standard.SchedulerCalendar
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSchedulerCalendar
(String name, boolean exclude, String baseCalendarName, boolean enableWeekDays, boolean enableMonthDays, boolean enableMonthDayLast, boolean enableAnnualDays, boolean enableDateRanges) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAnnualDay
(String name, int day, int month) void
addAnnualDay
(String name, int day, String month) void
addDateRange
(String name, String from, String to) getName()
boolean
hasCalendarRef
(String calendarName, Map calendars) boolean
void
removeAnnualDay
(String name) void
removeDateRange
(String name) void
setBaseCalendarName
(String baseCalendarName) void
setEnableAnnualDays
(boolean enableAnnualDays) void
setEnableDateRanges
(boolean enableDateRanges) void
setEnableMonthDayLast
(boolean enableMonthDayLast) void
setEnableMonthDays
(boolean enableMonthDays) void
setEnableWeekDays
(boolean enableWeekDays) void
setExclude
(boolean exclude) void
setMonthDay
(int day, boolean b) void
setWeekDay
(int day, boolean b) toString()
-
Field Details
-
LAST_DAY_OF_MONTH
public static int LAST_DAY_OF_MONTH
-
-
Constructor Details
-
SchedulerCalendar
-
-
Method Details
-
getName
-
setExclude
public void setExclude(boolean exclude) -
setBaseCalendarName
-
setEnableWeekDays
public void setEnableWeekDays(boolean enableWeekDays) -
setEnableMonthDays
public void setEnableMonthDays(boolean enableMonthDays) -
setEnableMonthDayLast
public void setEnableMonthDayLast(boolean enableMonthDayLast) -
setEnableAnnualDays
public void setEnableAnnualDays(boolean enableAnnualDays) -
setEnableDateRanges
public void setEnableDateRanges(boolean enableDateRanges) -
setWeekDay
public void setWeekDay(int day, boolean b) -
setMonthDay
public void setMonthDay(int day, boolean b) -
addAnnualDay
-
addAnnualDay
-
removeAnnualDay
-
addDateRange
-
removeDateRange
-
isValid
-
hasCalendarRef
-
createCopy
- Throws:
Exception
-
toString
-