@syncfusion/ej2-gantt
Version:
Essential JS 2 Gantt Component
33 lines (32 loc) • 994 B
TypeScript
import { ChildProperty } from '@syncfusion/ej2-base';
/**
* 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.
*/
export declare class CalendarException extends ChildProperty<CalendarException> {
/**
* Specifies the start date of the calendar exception.
*
* Accepts a `Date` object or ISO-formatted string.
*
* @default null
*/
from: Date | string;
/**
* Specifies the end date of the calendar exception.
*
* Accepts a `Date` object or ISO-formatted string.
*
* @default null
*/
to: Date | string;
/**
* Defines a label or description for the exception.
*
* Useful for display purposes or export annotations (e.g., "Diwali Break", "Maintenance Window").
*
* @default null
*/
label: string;
}