public class CalendarBundle extends java.lang.Object implements Calendar
Calendar
.Constructor and Description |
---|
CalendarBundle() |
Modifier and Type | Method and Description |
---|---|
Calendar |
getBaseCalendar()
Get the base calendar.
|
Calendar |
getCalendar() |
java.lang.String |
getCalendarName() |
java.lang.String |
getClassName() |
java.lang.String |
getDescription()
Return the description given to the
Calendar instance by
its creator (if any). |
long |
getNextIncludedTime(long timeStamp)
Determine the next time (in milliseconds) that is 'included' by the
Calendar after the given time.
|
boolean |
getReplace() |
boolean |
isTimeIncluded(long timeStamp)
Determine whether the given time (in milliseconds) is 'included' by the
Calendar.
|
void |
setBaseCalendar(Calendar baseCalendar)
Set a new base calendar or remove the existing one.
|
void |
setCalendar(Calendar calendar) |
void |
setCalendarName(java.lang.String calendarName) |
void |
setClassName(java.lang.String className) |
void |
setDescription(java.lang.String description)
Set a description for the
Calendar instance - may be
useful for remembering/displaying the purpose of the calendar, though
the description has no meaning to Quartz. |
void |
setReplace(boolean replace) |
public java.lang.String getCalendarName()
public void setCalendarName(java.lang.String calendarName)
public java.lang.String getClassName()
public void setClassName(java.lang.String className) throws java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
public Calendar getCalendar()
public void setCalendar(Calendar calendar)
public boolean getReplace()
public void setReplace(boolean replace)
public Calendar getBaseCalendar()
Calendar
Get the base calendar. Will be null, if not set.
getBaseCalendar
in interface Calendar
public void setBaseCalendar(Calendar baseCalendar)
Calendar
Set a new base calendar or remove the existing one.
setBaseCalendar
in interface Calendar
public java.lang.String getDescription()
Calendar
Return the description given to the Calendar
instance by
its creator (if any).
getDescription
in interface Calendar
public void setDescription(java.lang.String description)
Calendar
Set a description for the Calendar
instance - may be
useful for remembering/displaying the purpose of the calendar, though
the description has no meaning to Quartz.
setDescription
in interface Calendar
public boolean isTimeIncluded(long timeStamp)
Calendar
Determine whether the given time (in milliseconds) is 'included' by the Calendar.
isTimeIncluded
in interface Calendar
public long getNextIncludedTime(long timeStamp)
Calendar
Determine the next time (in milliseconds) that is 'included' by the Calendar after the given time.
getNextIncludedTime
in interface Calendar