public interface ICalendarBuilder
Modifier and Type | Method and Description |
---|---|
IWorkdayCalendar |
createWorkdayCalendar(String alias,
String name,
String timeZone)
Creates an instance of
IWorkdayCalendar |
IWorkdayCalendar |
createWorkdayCalendar(String id,
String alias,
String name,
String timeZone,
List<Event> holidays,
List<Workday> workdays)
Creates an instance of
IWorkdayCalendar |
IWorkdayCalendar createWorkdayCalendar(String alias, String name, String timeZone) throws CalendarException
IWorkdayCalendar
alias
- unique alias name to be assigned to the calendarname
- display name of the calendartimeZone
- timeZone ID for this calendarCalendarException
IWorkdayCalendar createWorkdayCalendar(String id, String alias, String name, String timeZone, List<Event> holidays, List<Workday> workdays)
IWorkdayCalendar
id
- the calendarIDalias
- unique alias name to be assigned to the calendarname
- display name of the calendartimeZone
- timeZone ID for this calendarholidays
- list of holidaysworkdays
- list of workdaysCalendarException