Interface ICalendarBuilder


public interface ICalendarBuilder
CalendarBuilder is used to create calendar instances
  • Method Details

    • createWorkdayCalendar

      IWorkdayCalendar createWorkdayCalendar(String alias, String name, String timeZone) throws CalendarException
      Creates an instance of IWorkdayCalendar
      Parameters:
      alias - unique alias name to be assigned to the calendar
      name - display name of the calendar
      timeZone - timeZone ID for this calendar
      Returns:
      calendar instance with ID == null
      Throws:
      CalendarException
    • createWorkdayCalendar

      IWorkdayCalendar createWorkdayCalendar(String id, String alias, String name, String timeZone, List<Event> holidays, List<Workday> workdays)
      Creates an instance of IWorkdayCalendar
      Parameters:
      id - the calendarID
      alias - unique alias name to be assigned to the calendar
      name - display name of the calendar
      timeZone - timeZone ID for this calendar
      holidays - list of holidays
      workdays - list of workdays
      Returns:
      calendar instance with ID == null
      Throws:
      CalendarException