# GanttWorkingTime (@salmonui/gantt)

> The GanttWorkingTime interface of @salmonui/gantt: workingTime: hours as decimals (8, 17.5); week overrides dayRanges per weekday (0 = Sunday).

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

```ts
import type { GanttWorkingTime } 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 GanttWorkingTime {
    readonly dayRanges?: readonly {
        readonly from: number;
        readonly to: number;
    }[];
    readonly week?: Partial<Readonly<Record<0 | 1 | 2 | 3 | 4 | 5 | 6, readonly {
        readonly from: number;
        readonly to: number;
    }[]>>>;
    readonly workDays?: readonly number[];
    readonly includeWeekend?: boolean;
    readonly hoursPerDay?: number;
    readonly daysPerWeek?: number;
    readonly daysPerMonth?: number;
}
```

`workingTime`: hours as decimals (`8`, `17.5`); `week` overrides `dayRanges` per weekday (0 = Sunday).

Members (7):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `dayRanges` | `readonly dayRanges?: readonly {     readonly from: number;     readonly to: number; }[];` | optional |  |
| `week` | `readonly week?: Partial<Readonly<Record<0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6, readonly {     readonly from: number;     readonly to: number; }[]>>>;` | optional |  |
| `workDays` | `readonly workDays?: readonly number[];` | optional |  |
| `includeWeekend` | `readonly includeWeekend?: boolean;` | optional |  |
| `hoursPerDay` | `readonly hoursPerDay?: number;` | optional |  |
| `daysPerWeek` | `readonly daysPerWeek?: number;` | optional |  |
| `daysPerMonth` | `readonly daysPerMonth?: number;` | optional |  |
