Calendar properties
name
Description
Optional identifier for debugging
Usage
name?: string;
weekHours
Description
Working hours per weekday specific to this calendar instance
Usage
weekHours?: {
monday: number,
tuesday: number,
wednesday: number,
thursday: number,
friday: number,
saturday: number,
sunday: number,
}
By default, Calendar initializes standard working week (Monday-Friday) with 8 hours per day.
note
The Calendar allows you to set the number of working hours per day, but not the specific working hours schedule within the day (e.g., 09:00–13:00, 14:00–18:00).