Skip to content
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 when pointOrStart lies in the half-open interval [intervalStart, intervalEnd) (3-arg), or when the inner interval [innerStart, innerEnd) lies within it (4-arg).
intervalContainsDateTime: 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).
intervalContainsTime: 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).
intervalCountDate: Count how many unit boundaries a date interval crosses.
intervalCountDateTime: Count how many unit boundaries a date-time interval crosses.
intervalCountTime: Count how many unit boundaries 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 into n equal-length sub-intervals.
intervalDivideEquallyDateTime: Split a datetime interval into n equal-length sub-intervals.
intervalDivideEquallyTime: Split a time interval into n equal-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 in unit, as a real (possibly fractional) number.
intervalLengthDateTime: Return the exact length of a datetime interval in unit, as a real (possibly fractional) number.
intervalLengthTime: Return the exact length of a time interval in unit, 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 arbitrary points, producing consecutive sub-intervals.
intervalSplitAtDateTime: Split a datetime interval at arbitrary points, producing consecutive sub-intervals.
intervalSplitAtTime: Split a time interval at arbitrary points, 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 if start and end form a valid date interval — both parseable as ISO PlainDate strings and start <= end.
isValidDateTimeInterval: Return true if start and end form a valid datetime interval — both parseable as ISO PlainDateTime strings and start <= end.
isValidTimeInterval: Return true if start and end form a valid time interval — both parseable as ISO PlainTime strings and start <= 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 of amount × unit.
splitIntervalByUnitDateTime: Split a date-time interval into sub-intervals of amount × unit.
splitIntervalByUnitTime: Split a time interval into sub-intervals of amount × unit.