@terascope/types / dates
dates
Index
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
Type that encompasses all the possible date types for easier reference
Source
DateTuple
DateTuple: readonly [
number
,number
]
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)
Source
TimeBetweenIntervals
TimeBetweenIntervals:
"milliseconds"
|"seconds"
|"minutes"
|"hours"
|"days"
|"calendarDays"
|"businessDays"
|"weeks"
|"calendarWeeks"
|"months"
|"calendarMonths"
|"quarters"
|"calendarQuarters"
|"years"
|"calendarYears"
|"calendarISOWeekYears"
|"ISOWeekYears"
|"ISO8601"