Skip to content
@northguild/gmt
Search
Ctrl
K
Cancel
GitHub
Start here
Install
Core Rules
Guides
concepts
Concepts
DST Disambiguation
Plain vs Zoned
conversion
Conversion
Converting Between Types
core-date-operations
Core Date Operations
intervals
Intervals
Getting the Current Date and Time
Plain Arithmetic
Comparisons
Durations
Parsing
Formatting
Relative Time
Validation
Calendar Systems
integration
Integration
Application Integration
Lint Package Selection
Guides
intervals
Interval Basics
Containment and Overlap
Set Operations
Splitting and Counting
zoned-date-operations
Zoned Operations
Reference
duration
calculate
absDuration
addDuration
durationAs
getDurationSign
getDurationUnit
negateDuration
subtractDuration
format
DurationUnit
formatDuration
FormatDurationOptions
compareDurations
isValidDuration
normalizeDuration
parseDuration
plain
calculate
addBusinessDays
addDate
addDateTime
addTime
clampDate
closestDateTo
cycleDate
cycleDateTime
cycleTime
diffDate
diffDateAsDuration
diffDateTime
diffDateTimeAsDuration
diffTime
endOfDate
endOfDateTime
endOfQuarterForDate
endOfQuarterForDateTime
endOfTime
EndOfTimeUnit
getDayOfYear
getDaysInMonth
getDaysInYear
getLargestDateDurationUnit
getLargestDateTimeDurationUnit
getLargestTimeDurationUnit
getLocaleDayOfWeek
getLocaleEndOfWeek
getLocaleStartOfWeek
getLocaleWeekYear
getQuarterForDate
getQuarterForDateTime
getWeekNumber
getWeekOfMonth
getWeeksInLocaleWeekYear
getWeeksInMonth
getWeeksInYear
getWeekYear
maxDate
maxDateTime
maxTime
minDate
minDateTime
minTime
nextWeekday
previousWeekday
roundDate
roundDateTime
roundTime
setDate
setDateTime
setTime
sortDates
sortDateTimes
sortTimes
startOfDate
startOfDateTime
startOfQuarterForDate
startOfQuarterForDateTime
startOfTime
StartOfTimeUnit
subtractBusinessDays
subtractDate
subtractDateTime
subtractTime
weekOfYearForDate
weekOfYearForDateTime
chop
chopDate
chopMilliseconds
chopSeconds
chopTime
compare
areDatesEqual
areDatesEqualBy
areDateTimesEqual
areDateTimesEqualBy
areTimesEqual
isAfterDate
isAfterDateTime
isAfterTime
isBeforeDate
isBeforeDateTime
isBeforeTime
isBetweenDate
isBetweenDateTime
isBetweenTime
isBusinessDay
isFuture
isPast
isRelativeDay
isThisUnit
isWeekend
format
formatCalendar
FormatCalendarOptions
formatDate
formatDateRange
formatDateTime
formatDateTimeRange
formatDateTimeToParts
formatDateToParts
formatRelativeDate
FormatRelativeDateOptions
formatRelativeDateTime
FormatRelativeDateTimeOptions
formatRelativeTime
FormatRelativeTimeOptions
formatSql
formatTime
RelativeUnit
get
getDay
getDayOfWeek
getHour
getMicrosecond
getMillisecond
getMinute
getMonth
getNanosecond
getNow
getNowUnit
getSecond
getToday
getWeekOfYear
getYear
isValidPlainNowUnit
NowUnit
interval
intervalAbutsDate
intervalAbutsDateTime
intervalAbutsTime
intervalContainsDate
intervalContainsDateTime
intervalContainsTime
intervalCountDate
intervalCountDateTime
intervalCountTime
intervalDifferenceDate
intervalDifferenceDateTime
intervalDifferenceTime
intervalDivideEquallyDate
intervalDivideEquallyDateTime
intervalDivideEquallyTime
intervalEngulfsDate
intervalEngulfsDateTime
intervalEngulfsTime
intervalFromDurationDate
intervalFromDurationDateTime
intervalFromDurationTime
intervalIntersectionDate
intervalIntersectionDateTime
intervalIntersectionTime
intervalLengthDate
intervalLengthDateTime
intervalLengthTime
intervalOverlappingDaysDate
intervalOverlappingDaysDateTime
intervalsOverlapDate
intervalsOverlapDateTime
intervalsOverlapTime
intervalSplitAtDate
intervalSplitAtDateTime
intervalSplitAtTime
intervalUnionDate
intervalUnionDateTime
intervalUnionTime
intervalXorAllDate
intervalXorAllDateTime
intervalXorAllTime
intervalXorDate
intervalXorDateTime
intervalXorTime
isValidDateInterval
isValidDateTimeInterval
isValidTimeInterval
mergeIntervalsDate
mergeIntervalsDateTime
mergeIntervalsTime
splitIntervalByUnitDate
splitIntervalByUnitDateTime
splitIntervalByUnitTime
startOfUnit
locale
getLocaleEraNames
getLocaleMeridiems
getLocaleMonthNames
getLocaleWeekdayNames
LocaleNameStyle
map
mapDatesInRange
mapDaysInMonth
parse
parseDateTimeWithPattern
parseDateWithPattern
parseDayFromDate
parseDayFromDateTime
parseDayOfWeekFromDate
parseDayOfWeekFromDateTime
parseHourFromDateTime
parseHourFromTime
parseMicrosecondFromDateTime
parseMicrosecondFromTime
parseMillisecondFromDateTime
parseMillisecondFromTime
parseMinuteFromDateTime
parseMinuteFromTime
parseMonthFromDate
parseMonthFromDateTime
parseNanosecondFromDateTime
parseNanosecondFromTime
parseSecondFromDateTime
parseSecondFromTime
parseSql
parseTimeWithPattern
parseUnitFromDate
parseUnitFromDateTime
parseUnitFromTime
parseWeekFromDate
parseWeekFromDateTime
parseYearFromDate
parseYearFromDateTime
validate
isLeapSecond
isLeapYear
isValidCalendarDate
isValidDate
isValidDateCycleField
isValidDateDurationUnit
isValidDateRange
IsValidDateRangeProps
isValidDateTime
isValidDateTimeCycleField
isValidDateTimeDurationUnit
isValidDateTimeRange
isValidDateTimeUnit
isValidDateUnit
isValidIsoDateLike
isValidTime
isValidTimeCycleField
isValidTimeDurationUnit
isValidTimeRange
isValidTimeUnit
convertDateToCalendar
regex
date
day
month
plainDate
year
time
fractionalSecond
hour
millisecond
minute
plainTime
second
unix
unixMilliseconds
unixSeconds
calendarDate
calendarZonedDateTime
httpDate
leapSecond
plainDateTime
rfc2822DateTime
rfc3339DateTime
sqlDateTime
timeZoneLike
utcDateTime
types
CalendarSystem
DateCycleField
DateDurationUnit
DateTimeCycleField
DateTimeDurationUnit
DateTimeUnit
DateUnit
Disambiguation
DurationRelativeTo
DurationStringOptions
FractionalDigit
Offset
Overflow
RelativeRoundingMethod
RoundingOptions
TimeCycleField
TimeDurationUnit
TimeUnit
unix
calculate
addUnix
diffUnix
diffUnixAsDuration
endOfQuarterForUnix
endOfUnix
isBetweenUnix
maxUnix
minUnix
roundUnix
setUnix
sortUnix
startOfQuarterForUnix
startOfUnix
startOrEndOfUnix
subtractUnix
compare
areUnixEqual
areUnixEqualBy
isAfterUnix
isBeforeUnix
convert
convertUnixToPlainDate
convertUnixToPlainDateTime
convertUnixToPlainTime
convertUnixToUtc
convertUnixToZoned
format
formatCalendarUnix
FormatCalendarUnixOptions
formatRelativeUnix
FormatRelativeUnixOptions
formatUnix
FormatUnixOptions
parseEpochMs
RelativeUnit
toInstant
get
getUnixDay
getUnixHour
getUnixMicrosecond
getUnixMillisecond
getUnixMinute
getUnixMonth
getUnixNanosecond
getUnixNow
getUnixNowUnit
getUnixSecond
getUnixYear
isValidUnixNowUnit
UnixNowUnit
interval
intervalAbutsUnix
intervalContainsUnix
intervalCountUnix
intervalDifferenceUnix
intervalDivideEquallyUnix
intervalEngulfsUnix
intervalFromDurationUnix
intervalIntersectionUnix
intervalLengthUnix
intervalOverlappingDaysUnix
intervalsOverlapUnix
intervalSplitAtUnix
intervalUnionUnix
intervalXorAllUnix
intervalXorUnix
isValidUnixInterval
mergeIntervalsUnix
ResolvedUnixInterval
resolveUnixIntervalPair
splitIntervalByUnitUnix
parse
parseDateFromUnix
parseDayFromUnix
parseDayOfWeekFromUnix
parseHourFromUnix
parseMicrosecondFromUnix
parseMillisecondFromUnix
parseMinuteFromUnix
parseMonthFromUnix
parseNanosecondFromUnix
parseSecondFromUnix
parseTimeFromUnix
parseUnitFromUnix
parseWeekFromUnix
parseYearFromUnix
PlainNowUnit
validate
isValidUnixMilliseconds
isValidUnixRange
isValidUnixSeconds
isValidUnixUnit
UnixUnit
utc
calculate
addUtc
diffUtc
diffUtcAsDuration
endOfQuarterForUtc
endOfUtc
isBetweenUtc
maxUtc
minUtc
roundUtc
setUtc
sortUtc
startOfQuarterForUtc
startOfUtc
startOrEndOfUtc
subtractUtc
compare
areUtcEqual
areUtcEqualBy
isAfterUtc
isBeforeUtc
convert
convertUtcToPlainDate
convertUtcToPlainDateTime
convertUtcToPlainTime
convertUtcToUnix
convertUtcToZoned
format
formatCalendarUtc
FormatCalendarUtcOptions
formatHttp
formatRelativeUtc
FormatRelativeUtcOptions
formatUtc
FormatUtcOptions
RelativeUnit
get
getUtcDay
getUtcHour
getUtcMicrosecond
getUtcMillisecond
getUtcMinute
getUtcMonth
getUtcNanosecond
getUtcNow
getUtcNowUnit
getUtcSecond
getUtcYear
isValidUtcNowUnit
UtcNowUnit
interval
intervalAbutsUtc
intervalContainsUtc
intervalCountUtc
intervalDifferenceUtc
intervalDivideEquallyUtc
intervalEngulfsUtc
intervalFromDurationUtc
intervalIntersectionUtc
intervalLengthUtc
intervalOverlappingDaysUtc
intervalsOverlapUtc
intervalSplitAtUtc
intervalUnionUtc
intervalXorAllUtc
intervalXorUtc
isValidUtcInterval
mergeIntervalsUtc
splitIntervalByUnitUtc
parse
parseDateFromUtc
parseDayFromUtc
parseDayOfWeekFromUtc
parseHourFromUtc
parseHttp
parseMicrosecondFromUtc
parseMillisecondFromUtc
parseMinuteFromUtc
parseMonthFromUtc
parseNanosecondFromUtc
parseSecondFromUtc
parseTimeFromUtc
parseUnitFromUtc
parseWeekFromUtc
parseYearFromUtc
UtcUnit
validate
isValidUtc
isValidUtcRange
chopUtc
zoned
calculate
addZoned
addZonedBusinessDays
clampZoned
closestZonedTo
cycleZoned
diffZoned
diffZonedAsDuration
endOfQuarterForZoned
endOfZoned
getHoursInZonedDay
getLocaleZonedDayOfWeek
getLocaleZonedEndOfWeek
getLocaleZonedStartOfWeek
getQuarterForZoned
maxZoned
minZoned
roundZoned
setZoned
sortZoned
startOfQuarterForZoned
startOfZoned
subtractZoned
subtractZonedBusinessDays
chop
chopZonedDate
chopZonedDateTime
chopZonedMilliseconds
chopZonedSeconds
chopZonedTime
chopZonedTimezone
compare
areZonedEqual
areZonedEqualBy
isAfterZoned
isBeforeZoned
isBetweenZoned
isInDaylightSaving
isZonedBusinessDay
isZonedFuture
isZonedPast
isZonedRelativeDay
isZonedThisUnit
isZonedWeekend
convert
convertPlainDateTimeToZoned
convertZonedToCalendar
convertZonedToPlainDateTime
convertZonedToUnix
convertZonedToUtc
convertZonedToZoned
format
formatCalendarZoned
FormatCalendarZonedOptions
formatRelativeZoned
FormatRelativeZonedOptions
formatRfc2822
formatRfc3339
formatTimeZoneName
FormatTimeZoneNameOptions
formatZonedDateTime
formatZonedRange
formatZonedToParts
RelativeUnit
TimeZoneNameStyle
get
DstTransition
getDstTransitions
getSystemTimeZone
getTimeZoneOffset
getTimeZones
getZonedDay
getZonedDayOfWeek
getZonedHour
getZonedMicrosecond
getZonedMillisecond
getZonedMinute
getZonedMonth
getZonedNanosecond
getZonedNow
getZonedNowUnit
getZonedSecond
getZonedToday
getZonedWeekOfYear
getZonedYear
isValidZonedNowUnit
ZonedNowUnit
interval
intervalAbutsZoned
intervalContainsZoned
intervalCountZoned
intervalDifferenceZoned
intervalDivideEquallyZoned
intervalEngulfsZoned
intervalFromDurationZoned
intervalIntersectionZoned
intervalLengthZoned
intervalOverlappingDaysZoned
intervalsOverlapZoned
intervalSplitAtZoned
intervalUnionZoned
intervalXorAllZoned
intervalXorZoned
isValidCalendarZonedInterval
isValidZonedInterval
mergeIntervalsZoned
splitIntervalByUnitZoned
map
mapZonedDatesInRange
mapZonedHoursInDay
parse
getZonedOffset
getZonedOffsetAs
isValidZonedOffsetUnit
isValidZonedUnit
parseDateFromZoned
parseDateTimeFromZoned
parseDayFromZoned
parseDayOfWeekFromZoned
parseHourFromZoned
parseMicrosecondFromZoned
parseMillisecondFromZoned
parseMinuteFromZoned
parseMonthFromZoned
parseNanosecondFromZoned
parseRfc2822
parseRfc3339
parseSecondFromZoned
parseTimeFromZoned
parseTimeZoneFromZoned
parseUnitFromZoned
parseWeekFromZoned
parseYearFromZoned
ZonedOffsetUnit
ZonedParseUnit
validate
hasDaylightSaving
isValidCalendarZonedDateTime
isValidTimeZone
isValidZonedDateTime
isValidZonedRange
Scenarios
Scenarios
Monthly Billing Without Drift
Recurring Meeting Across DST
Storing a Birthday
Mistakes
Mistakes
Date Arithmetic
Date Comparison
Type Conversion
Duration
Formatting Date and Time
Formatting Relative Time
Getting the Current Time
Interval Operations
Parsing Date and Time
Date Validation
Zoned Date Operations
GitHub
EndOfTimeUnit
The EndOfTimeUnit type.
Definition
Section titled “Definition”
type
EndOfTimeUnit
=
Temporal
.
TimeUnit
|
"
day
"
;
Source
Section titled “Source”
plain/calculate/endOfTime.ts