com.webmethods.sc.calendar
Interface IWorkdayCalendar

All Superinterfaces:
ICalendar, Serializable

public interface IWorkdayCalendar
extends ICalendar

Workday calendar which is respresented as list of Workday and list of Event. List of Events is used to contain Holiday and PeriodEvent, the latter used to represent user defined event such as Time Off or Busy.

These lists are different for that purpose that workday events have different meaning than other type of events. Workdays represent working or business time, while other events represents non-working time

To populate calendar object with events simply add/remove objects from respective list


Field Summary
 
Fields inherited from interface com.webmethods.sc.calendar.ICalendar
TYPE_UNKNOWN, TYPE_WORKDAY
 
Method Summary
 List getEvents()
          Returns writable list of general events, such as Holiday and PeriodEvent
 List getWorkdays()
          Returns writable list of workdays for this calendar
 
Methods inherited from interface com.webmethods.sc.calendar.ICalendar
getAlias, getID, getName, getTimeZone, getType, setAlias, setName, setTimeZone
 

Method Detail

getWorkdays

List getWorkdays()
Returns writable list of workdays for this calendar


getEvents

List getEvents()
Returns writable list of general events, such as Holiday and PeriodEvent