Interval
A span of time between two ISO 8601 instant strings, half-open: [start, end).
import type { Interval } from "@northguild/gmt";Members
Section titled “Members”| Member | Type | Description |
|---|---|---|
start | string | The first instant inside the interval, as an ISO 8601 instant string with an offset. |
end | string | The first instant after the interval, as an ISO 8601 instant string with an offset; it is not itself inside. It may equal start, which makes the interval empty, but not precede it. |
Definition
Section titled “Definition”type Interval = { /** The first instant inside the interval, as an ISO 8601 instant string with an offset. */ start: string; /** * The first instant after the interval, as an ISO 8601 instant string with an offset; it is * not itself inside. It may equal `start`, which makes the interval empty, but not precede it. */ end: string;};Used by
Section titled “Used by”clampIntervalcronRunsdemurrageClockdutyDayFordutyTotalsdutyViolationsevaluateDutyLogexpandRecurrenceintersectIntervalsintervalContainsintervalsOverlapisValidIntervallongestRunmergeIntervalsoperatingIntervalsqualifyingRestPairsqualifyingRestsrecurringWindowssplitIntervalAtsubtractIntervalssumIntervals
Source
Section titled “Source”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.