plain/interval
intervalAbutsDate: Return true when two half-open date intervals[aStart, aEnd)and[bStart, bEnd)are exactly adjacent — one ends where the other starts, so they share nothing and leave no gap.intervalAbutsDateTime: Return true when two half-open datetime intervals[aStart, aEnd)and[bStart, bEnd)are exactly adjacent — one ends where the other starts, so they share nothing and leave no gap.intervalAbutsTime: Return true when two half-open time intervals[aStart, aEnd)and[bStart, bEnd)are exactly adjacent — one ends where the other starts, so they share nothing and leave no gap.intervalContainsDate: Return true whenpointOrStartlies in the half-open interval[intervalStart, intervalEnd)(3-arg), or when the inner interval[innerStart, innerEnd)lies within it (4-arg).intervalContainsDateTime: Return true whenpointOrStartlies in the half-open interval[intervalStart, intervalEnd)(3-arg), or when the inner interval[innerStart, innerEnd)lies within it (4-arg).intervalContainsTime: Return true whenpointOrStartlies in the half-open interval[intervalStart, intervalEnd)(3-arg), or when the inner interval[innerStart, innerEnd)lies within it (4-arg).intervalCountDate: Count how manyunitboundaries a date interval crosses.intervalCountDateTime: Count how manyunitboundaries a date-time interval crosses.intervalCountTime: Count how manyunitboundaries a time interval crosses.intervalDifferenceDate: Return the portion(s) of interval A not covered by interval B.intervalDifferenceDateTime: Return the portion(s) of interval A not covered by interval B.intervalDifferenceTime: Return the portion(s) of interval A not covered by interval B.intervalDivideEquallyDate: Split a date interval intonequal-length sub-intervals.intervalDivideEquallyDateTime: Split a datetime interval intonequal-length sub-intervals.intervalDivideEquallyTime: Split a time interval intonequal-length sub-intervals.intervalEngulfsDate: Return true when the half-open interval B[bStart, bEnd)lies within the half-open interval A[aStart, aEnd)— every day of B is also in A.intervalEngulfsDateTime: Return true when the half-open interval B[bStart, bEnd)lies within the half-open interval A[aStart, aEnd)— every moment of B is also in A.intervalEngulfsTime: Return true when the half-open interval B[bStart, bEnd)lies within the half-open interval A[aStart, aEnd)— every clock time of B is also in A.intervalFromDurationDate: Construct a date interval from a single point plus an ISO 8601 duration, anchored at either end.intervalFromDurationDateTime: Construct a datetime interval from a single point plus an ISO 8601 duration, anchored at either end.intervalFromDurationTime: Construct a time interval from a single point plus an ISO 8601 duration, anchored at either end.intervalIntersectionDate: Return the overlapping span of two date intervals, or null when they do not overlap.intervalIntersectionDateTime: Return the overlapping span of two datetime intervals, or null when they do not overlap.intervalIntersectionTime: Return the overlapping span of two time intervals, or null when they do not overlap.intervalLengthDate: Return the exact length of a date interval inunit, as a real (possibly fractional) number.intervalLengthDateTime: Return the exact length of a datetime interval inunit, as a real (possibly fractional) number.intervalLengthTime: Return the exact length of a time interval inunit, as a real (possibly fractional) number.intervalOverlappingDaysDate: Return how many distinct calendar dates two date intervals share.intervalOverlappingDaysDateTime: Return how many distinct calendar dates two datetime intervals share.intervalsOverlapDate: Return true when the half-open date intervals[aStart, aEnd)and[bStart, bEnd)share at least one day.intervalsOverlapDateTime: Return true when the half-open datetime intervals[aStart, aEnd)and[bStart, bEnd)share at least one moment.intervalsOverlapTime: Return true when the half-open time intervals[aStart, aEnd)and[bStart, bEnd)share at least one clock time.intervalSplitAtDate: Split a date interval at arbitrarypoints, producing consecutive sub-intervals.intervalSplitAtDateTime: Split a datetime interval at arbitrarypoints, producing consecutive sub-intervals.intervalSplitAtTime: Split a time interval at arbitrarypoints, producing consecutive sub-intervals.intervalUnionDate: Return the combined span of two date intervals, or null when they are disjoint.intervalUnionDateTime: Return the combined span of two datetime intervals, or null when they are disjoint.intervalUnionTime: Return the combined span of two time intervals, or null when they are disjoint.intervalXorAllDate: Return the symmetric difference across a list of date intervals — the set of dates covered by an odd number of the input intervals.intervalXorAllDateTime: Return the symmetric difference across a list of datetime intervals — the set of instants covered by an odd number of the input intervals.intervalXorAllTime: Return the symmetric difference across a list of time intervals — the set of clock times covered by an odd number of the input intervals.intervalXorDate: Return the symmetric difference of two date intervals — time covered by exactly one interval.intervalXorDateTime: Return the symmetric difference of two datetime intervals — time covered by exactly one interval.intervalXorTime: Return the symmetric difference of two time intervals — time covered by exactly one interval.isValidDateInterval: Return true ifstartandendform a valid date interval — both parseable as ISO PlainDate strings andstart <= end.isValidDateTimeInterval: Return true ifstartandendform a valid datetime interval — both parseable as ISO PlainDateTime strings andstart <= end.isValidTimeInterval: Return true ifstartandendform a valid time interval — both parseable as ISO PlainTime strings andstart <= end.mergeIntervalsDate: Collapse a list of date intervals into the minimum set of non-overlapping intervals.mergeIntervalsDateTime: Collapse a list of datetime intervals into the minimum set of non-overlapping intervals.mergeIntervalsTime: Collapse a list of time intervals into the minimum set of non-overlapping intervals.splitIntervalByUnitDate: Split a date interval into sub-intervals ofamount × unit.splitIntervalByUnitDateTime: Split a date-time interval into sub-intervals ofamount × unit.splitIntervalByUnitTime: Split a time 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.