# OperatingOverride

Industry: Core

One local date whose windows differ from the weekly pattern.

```ts
import type { OperatingOverride } from "@northguild/gmt";
```

## Members

| Member | Type | Description |
| --- | --- | --- |
| `date` | `string` | The local date the override applies to, as an ISO PlainDate string in the schedule's zone. |
| `windows` | `LocalWindow[]` ([`LocalWindow`](/gmt/reference/types/LocalWindow/)) | The windows that date has instead of its weekly ones, holiday or not. `[]` closes the date for the whole day. |

## Definition

```ts
type OperatingOverride = {
  /** The local date the override applies to, as an ISO PlainDate string in the schedule's zone. */
  date: string;
  /**
   * The windows that date has instead of its weekly ones, holiday or not. `[]` closes the date
   * for the whole day.
   */
  windows: LocalWindow[];
};
```

## Used by

- [`addOperatingTime`](/gmt/reference/calendar/hours/addOperatingTime/)
- [`isOpenAt`](/gmt/reference/calendar/hours/isOpenAt/)
- [`isValidOperatingSchedule`](/gmt/reference/calendar/validate/isValidOperatingSchedule/)
- [`nextCloseAt`](/gmt/reference/calendar/hours/nextCloseAt/)
- [`nextOpenAt`](/gmt/reference/calendar/hours/nextOpenAt/)
- [`operatingIntervals`](/gmt/reference/calendar/hours/operatingIntervals/)
- [`operatingTimeBetween`](/gmt/reference/calendar/hours/operatingTimeBetween/)
- [`recurringWindows`](/gmt/reference/calendar/hours/recurringWindows/)

## Source

[types/operating-schedule.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/types/operating-schedule.ts)
