public static interface ISchedule.Item.Calendar
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ISchedule.Item.Calendar.Time |
| Modifier and Type | Method and Description |
|---|---|
ISchedule.Item.Calendar.Time |
addTime()
Adds a new run time to the calendar
|
void |
clearTimes()
Clear all of the run times for this calendar
|
java.lang.String |
getDate()
Get the date for a ONE_TIME calendar period
|
java.lang.String |
getDays()
Get the list of named days for a WEEKLY calendar period.
|
java.lang.String |
getDaysOfMonth()
Get the set of numbered days for a MONTHLY calendar period.
|
java.lang.String |
getMonths()
Get the list of named months for a MONTHLY calendar period.
|
java.lang.String |
getRecurrence()
Get the recurring day setting for a MONTHLY calendar period.
|
java.lang.String |
getRecurrentDay()
Get the recurrent named day setting for a MONTHLY calendar period.
|
boolean |
isRecurrent()
Indicates whether there is a recurrent day setting for a MONTHLY calendar period.
|
java.util.List<ISchedule.Item.Calendar.Time> |
listTimes()
Get the list of run times for this calendar's scheduled days.
|
void |
setDate(java.lang.String date)
Set the date for a ONE_TIME calendar period
|
void |
setDays(java.lang.String days)
Set the list of named days for a WEEKLY calendar period.
|
void |
setDaysOfMonth(java.lang.String daysOfMonth)
Set the set of numbered days for a MONTHLY calendar period.
|
void |
setDaysOfMonth(java.lang.String recurrence,
java.lang.String day)
Set the recurrence and named day for a MONTHLY calendar period.
|
void |
setMonths(java.lang.String months)
Set the list of named months for a MONTHLY calendar period.
|
java.lang.String getDays()
java.lang.String getMonths()
java.util.List<ISchedule.Item.Calendar.Time> listTimes()
java.lang.String getDaysOfMonth()
java.lang.String getRecurrence()
java.lang.String getRecurrentDay()
java.lang.String getDate()
void setDays(java.lang.String days)
throws java.lang.Exception
days - the list of named days for a WEEKLY calendar periodjava.lang.Exceptionvoid setMonths(java.lang.String months)
throws java.lang.Exception
months - the list of named months for a MONTHLY calendar periodjava.lang.Exceptionvoid setDaysOfMonth(java.lang.String daysOfMonth)
daysOfMonth - the set of numbered days for a MONTHLY calendar periodvoid setDaysOfMonth(java.lang.String recurrence,
java.lang.String day)
recurrence - EVERY, FIRST, SECOND, THIRD, FOURTH, or LASTday - SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, or nullvoid setDate(java.lang.String date)
date - the date for a ONE_TIME calendar period formatted as yyyy/mm/ddboolean isRecurrent()
ISchedule.Item.Calendar.Time addTime()
void clearTimes()