Gantt - CalendarExceptionModel

30 Sep 20261 minute to read

Interface for a class CalendarException

Properties

exceptionWorkingTime DayWorkingTimeModel[]

Overrides the default working time for the specified date range.
If defined, this replaces the standard working hours with custom time blocks (e.g., extended shifts or partial workdays).

from Date|string

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

label string

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

to Date|string

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