@terascope/types / dates
dates
Enumerations
| Enumeration | Description |
|---|---|
| ISO8601DateSegment | The starting substring of an ISO string that is specific towards a date interval |
Interfaces
| Interface | Description |
|---|---|
| GetTimeBetweenArgs | - |
Type Aliases
DateInputTypes
DateInputTypes =
Date|string|number|DateTuple
Defined in: packages/types/src/dates.ts:23
Type that encompasses all the possible date types for easier reference
DateTuple
DateTuple = readonly [
number,number]
Defined in: packages/types/src/dates.ts:18
A storage format for a date tuple, the first time is the timestamp since epoch_millis and the second is the timezone offset (minutes relative to UTC)
TimeBetweenIntervals
TimeBetweenIntervals =
"milliseconds"|"seconds"|"minutes"|"hours"|"days"|"calendarDays"|"businessDays"|"weeks"|"calendarWeeks"|"months"|"calendarMonths"|"quarters"|"calendarQuarters"|"years"|"calendarYears"|"calendarISOWeekYears"|"ISOWeekYears"|"ISO8601"
Defined in: packages/types/src/dates.ts:11