Package com.webmethods.sc.calendar
Interface ICalendar
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IWorkdayCalendar
Base class for persisted calendar instance. Each calendar instance has an ID which is used to uniquely identify
this calendar object when managing calendars using
ICalendarManager
. Calendar alias is another way to uniquely identify
calendar object but it is different from calendar ID is that it is not auto-generated but specified when creating a calendar.
Calendar alias is used to specify calendar instances on design time for processes and tasks
Each calendar is assosicated with timeZone ID, all time based events in this calendar such as Holidays or Workdays are applied within that timeZone
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Calendar Type Unknownstatic final int
Workday Calendar Type -
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
Returns unique alias for this calendargetID()
Returns ID of this calendar objectgetName()
Returns friendly display name for this calendar objectReturns timeZone ID for this calendarint
getType()
Returns type of this calendar objectvoid
Sets alias value for Calendar.void
Sets display name for Calendarvoid
setTimeZone
(String timeZone) Sets timeZone ID for Calendar
-
Field Details
-
TYPE_UNKNOWN
static final int TYPE_UNKNOWNCalendar Type Unknown- See Also:
-
TYPE_WORKDAY
static final int TYPE_WORKDAYWorkday Calendar Type- See Also:
-
-
Method Details
-
getID
String getID()Returns ID of this calendar object- Returns:
-
getType
int getType()Returns type of this calendar object -
getName
String getName()Returns friendly display name for this calendar object -
getAlias
String getAlias()Returns unique alias for this calendar -
getTimeZone
String getTimeZone()Returns timeZone ID for this calendar -
setTimeZone
Sets timeZone ID for Calendar -
setName
Sets display name for Calendar -
setAlias
Sets alias value for Calendar.
-