CalendarException

16 Dec 20251 minute to read

Represents a calendar exception that overrides default working time or marks non-working periods.
Used to define one-off or recurring deviations from the standard calendar, such as holidays, adjusted work hours, or blackout dates.

Properties

from Date|string

Specifies the start date of the calendar exception.
Accepts a Date object or ISO-formatted string.

Defaults to null

label string

Defines a label or description for the exception.
Useful for display purposes or export annotations (e.g., “Diwali Break”, “Maintenance Window”).

Defaults to null

to Date|string

Specifies the end date of the calendar exception.
Accepts a Date object or ISO-formatted string.

Defaults to null