zoned/interval
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 whenpointOrStartfalls 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 manyunitboundaries 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 intonequal-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 inunit, 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 arbitrarypoints, 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 ifstartandendform a valid GMT zoned interval — both parseable as bare ISO or RFC 9557 calendar-annotated ZonedDateTime strings, and the instant atstartis <= the instant atend.isValidZonedInterval: Return true ifstartandendform a valid zoned interval — both valid ISO ZonedDateTime strings (isValidZonedDateTime) and the instant atstartis <= the instant atend.mergeIntervalsZoned: Collapse a list of zoned intervals into the minimum set of non-overlapping intervals.splitIntervalByUnitZoned: Split a zoned interval into sub-intervals ofamount × unit.
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.