Skip to content
intervalAbutsZoned: Return true when two half-open zoned intervals [start, end) are exactly adjacent — one ends at the instant the other starts, so they share no instant and leave no gap (Allen’s “meets”, either order).
intervalContainsZoned: Return true when pointOrStart falls within the half-open interval [intervalStart, intervalEnd) (3-arg), or when the inner interval [innerStart, innerEnd) lies within the outer interval [intervalStart, intervalEnd) (4-arg).
intervalCountZoned: Count how many unit boundaries a zoned interval crosses.
intervalDifferenceZoned: Return the portion(s) of the half-open interval A [aStart, aEnd) not covered by the half-open interval B [bStart, bEnd).
intervalDivideEquallyZoned: Split a zoned interval into n equal-length sub-intervals.
intervalEngulfsZoned: Return true when the half-open interval B [bStart, bEnd) lies within the half-open interval A [aStart, aEnd) — every instant of B falls within A.
intervalFromDurationZoned: Construct a zoned interval from a single point plus an ISO 8601 duration, anchored at either end.
intervalIntersectionZoned: Return the overlapping span of two half-open zoned intervals [start, end), or null when they do not overlap.
intervalLengthZoned: Return the exact length of a zoned interval in unit, as a real (possibly fractional) number.
intervalOverlappingDaysZoned: Return how many distinct calendar dates two zoned intervals share, counted in the first interval’s zone.
intervalsOverlapZoned: Return true when the half-open intervals [aStart, aEnd) and [bStart, bEnd) share at least one instant.
intervalSplitAtZoned: Split a zoned interval at arbitrary points, producing consecutive sub-intervals.
intervalUnionZoned: Return the combined span of two half-open zoned intervals [start, end), or null when their union is not one non-empty span.
intervalXorAllZoned: Return the symmetric difference across a list of zoned intervals — the set of instants covered by an odd number of the input intervals.
intervalXorZoned: Return the symmetric difference of two half-open zoned intervals [start, end) — the instants covered by exactly one interval.
isValidCalendarZonedInterval: Return true if start and end form a valid GMT zoned interval — both parseable as bare ISO or RFC 9557 calendar-annotated ZonedDateTime strings, and the instant at start is <= the instant at end.
isValidZonedInterval: Return true if start and end form a valid zoned interval — both valid ISO ZonedDateTime strings (isValidZonedDateTime) and the instant at start is <= the instant at end.
mergeIntervalsZoned: Collapse a list of zoned intervals into the minimum set of non-overlapping intervals.
splitIntervalByUnitZoned: Split a zoned interval into sub-intervals of amount × unit.