Skip to content

Overflow

  • The core functions, which every industry uses.

What to do when a date or time field is out of range, as Temporal’s overflow option (Temporal.PlainDate.prototype.add(item, { overflow })). "constrain" clamps the field to the nearest valid value, so January 31 plus one month is the last day of February; "reject" refuses the value.

import type { Overflow } from "@northguild/gmt";
type Overflow = ArithmeticOptions["overflow"];

types/overflow.ts

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.