Overflow
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";Definition
Section titled “Definition”type Overflow = Temporal.ArithmeticOptions["overflow"];Used by
Section titled “Used by”addDateaddDateTimeaddUnixaddUtcaddZonedcycleDatecycleDateTimecycleZonedintervalFromDurationDateintervalFromDurationDateTimeintervalFromDurationUnixintervalFromDurationUtcintervalFromDurationZonedsetDatesetDateTimesetTimesetUnixsetUtcsetZonedsubtractDatesubtractDateTimesubtractUnixsubtractUtcsubtractZoned