Skip to main content

CalendarProviderOptions

@epilot/switching-deadlines


@epilot/switching-deadlines / index / CalendarProviderOptions

Interface: CalendarProviderOptions

Defined in: calendar-provider.ts:19

Options for configuring a CalendarProvider.

Properties​

customCalendar?​

optional customCalendar: object

Defined in: calendar-provider.ts:23

Custom calendar configuration.

holidays?​

optional holidays: CustomHolidayConfig[]

Array of custom holidays to include.

version?​

optional version: CalendarVersion

Version information for the custom calendar.


useSpecialHolidays?​

optional useSpecialHolidays: boolean

Defined in: calendar-provider.ts:40

Whether to include special holidays from the library.

Default Value​

true