# GanttCalendar (@salmonui/gantt)

> The GanttCalendar interface of @salmonui/gantt: A named working calendar. exceptions without ranges are non-working.

Canonical: https://salmonui.dev/docs/reference/gantt/GanttCalendar

```ts
import type { GanttCalendar } from '@salmonui/gantt';
```

Entry index: https://salmonui.dev/docs/reference/gantt (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/gantt.md).

## Reference

Kind: interface

```ts
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.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `readonly id: string;` |  |  |
| `workingTime` | `readonly workingTime?: GanttWorkingTime;` | optional |  |
| `exceptions` | `readonly exceptions?: readonly {     readonly start: GanttDateInput;     readonly end?: GanttDateInput;     readonly ranges?: readonly {         readonly from: number;         readonly to: number;     }[]; }[];` | optional |  |
