API reference: @salmonui/gantt
GanttCalendarinterface
import type { GanttCalendar } from '@salmonui/gantt';interface GanttCalendar {
readonly id: string;
readonly workingTime?: GanttWorkingTime;
readonly exceptions?: readonly {
readonly start: GanttDateInput;
readonly end?: GanttDateInput;
readonly ranges?: readonly {
readonly from: number;
readonly to: number;
}[];
}[];
}
A named working calendar. exceptions without ranges are non-working.
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
workingTimeoptional | readonly workingTime?: GanttWorkingTime; | |
exceptionsoptional | readonly exceptions?: readonly {
readonly start: GanttDateInput;
readonly end?: GanttDateInput;
readonly ranges?: readonly {
readonly from: number;
readonly to: number;
}[];
}[]; |