# CutoffOptions

Industry: Transport

Options for `cutoffAt`.

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

## Members

| Member | Type | Description |
| --- | --- | --- |
| `timeZone` | `string` | The time zone the cut-off is read in, the terminal's clock: an IANA name or a UTC offset to the minute (what `isValidTimeZone` accepts). |
| `atLocalTime?` | `string` | The local time of day the cut-off is pinned to (`"17:00"`), as `isValidTime` accepts. |
| `calendar?` | [`BusinessCalendar`](/gmt/reference/types/BusinessCalendar/) | The working week and holidays the cut-off's local date is rolled against. Its `timeZone` is not read: `timeZone` above is the local frame. Requires `roll`. |
| `roll?` | `"following"` \| `"modifiedFollowing"` \| `"preceding"` \| `"modifiedPreceding"` \| `"endOfMonth"` \| `"none"` ([`RollConvention`](/gmt/reference/types/RollConvention/)) | How a cut-off on a non-business day moves, as `rollDate` moves it. Requires `calendar`. |

## Definition

```ts
interface CutoffOptions {
  /**
   * The time zone the cut-off is read in, the terminal's clock: an IANA name or a UTC offset to the
   * minute (what `isValidTimeZone` accepts).
   */
  timeZone: string;
  /**
   * The local time of day the cut-off is pinned to (`"17:00"`), as `isValidTime` accepts.
   *
   * @defaultValue None. The cut-off is the offset taken off the anchor, with no time of day
   * pinned.
   */
  atLocalTime?: string;
  /**
   * The working week and holidays the cut-off's local date is rolled against. Its `timeZone` is
   * not read: `timeZone` above is the local frame. Requires `roll`.
   *
   * @defaultValue None. The cut-off's date is not rolled; a `roll` without it returns `""`.
   */
  calendar?: BusinessCalendar;
  /**
   * How a cut-off on a non-business day moves, as `rollDate` moves it. Requires `calendar`.
   *
   * @defaultValue None. The cut-off's date is not rolled; a `calendar` without it returns `""`.
   */
  roll?: RollConvention;
}
```

## Used by

- [`cutoffAt`](/gmt/reference/transport/calculate/cutoffAt/)
- [`cutoffSchedule`](/gmt/reference/transport/calculate/cutoffSchedule/)

## Source

[transport/calculate/cutoffAt.ts](https://github.com/northguild/gmt/blob/main/packages/gmt/src/transport/calculate/cutoffAt.ts)
