# utc/interval

Industry: Core

- [`intervalAbutsUtc`](/gmt/reference/utc/interval/intervalAbutsUtc/): Return true when two half-open UTC intervals `[aStart, aEnd)` and `[bStart, bEnd)` are exactly adjacent — one ends where the other starts, so they share nothing and leave no gap.
- [`intervalContainsUtc`](/gmt/reference/utc/interval/intervalContainsUtc/): Return true when `pointOrStart` lies in the half-open interval `[intervalStart, intervalEnd)` (3-arg), or when the inner interval `[innerStart, innerEnd)` lies within it (4-arg).
- [`intervalCountUtc`](/gmt/reference/utc/interval/intervalCountUtc/): Count how many `unit` boundaries a UTC interval crosses.
- [`intervalDifferenceUtc`](/gmt/reference/utc/interval/intervalDifferenceUtc/): Return the portion(s) of interval A not covered by interval B.
- [`intervalDivideEquallyUtc`](/gmt/reference/utc/interval/intervalDivideEquallyUtc/): Split a UTC interval into `n` equal-length sub-intervals.
- [`intervalEngulfsUtc`](/gmt/reference/utc/interval/intervalEngulfsUtc/): Return true when the half-open interval B `[bStart, bEnd)` lies within the half-open interval A `[aStart, aEnd)` — every instant of B is also in A.
- [`intervalFromDurationUtc`](/gmt/reference/utc/interval/intervalFromDurationUtc/): Construct a UTC interval from a single point plus an ISO 8601 duration, anchored at either end.
- [`intervalIntersectionUtc`](/gmt/reference/utc/interval/intervalIntersectionUtc/): Return the overlapping span of two UTC intervals, or null when they do not overlap.
- [`intervalLengthUtc`](/gmt/reference/utc/interval/intervalLengthUtc/): Return the exact length of a UTC interval in `unit`, as a real (possibly fractional) number.
- [`intervalOverlappingDaysUtc`](/gmt/reference/utc/interval/intervalOverlappingDaysUtc/): Return how many distinct UTC calendar dates two UTC intervals share.
- [`intervalsOverlapUtc`](/gmt/reference/utc/interval/intervalsOverlapUtc/): Return true when the half-open UTC intervals `[aStart, aEnd)` and `[bStart, bEnd)` share at least one instant.
- [`intervalSplitAtUtc`](/gmt/reference/utc/interval/intervalSplitAtUtc/): Split a UTC interval at arbitrary `points`, producing consecutive sub-intervals.
- [`intervalUnionUtc`](/gmt/reference/utc/interval/intervalUnionUtc/): Return the combined span of two UTC intervals, or null when they are disjoint.
- [`intervalXorAllUtc`](/gmt/reference/utc/interval/intervalXorAllUtc/): Return the symmetric difference across a list of UTC intervals — the set of instants covered by an odd number of the input intervals.
- [`intervalXorUtc`](/gmt/reference/utc/interval/intervalXorUtc/): Return the symmetric difference of two UTC intervals — time covered by exactly one interval.
- [`isValidUtcInterval`](/gmt/reference/utc/interval/isValidUtcInterval/): Return true if `start` and `end` form a valid UTC interval — both parseable as ISO UTC datetime strings and the instant at `start` is &lt;= the instant at `end`.
- [`mergeIntervalsUtc`](/gmt/reference/utc/interval/mergeIntervalsUtc/): Collapse a list of UTC intervals into the minimum set of non-overlapping intervals.
- [`splitIntervalByUnitUtc`](/gmt/reference/utc/interval/splitIntervalByUnitUtc/): Split a UTC interval into sub-intervals of `amount × unit`.
