Skip to main content

@terascope/types / dates

dates

Index

Enumerations

EnumerationDescription
ISO8601DateSegmentThe starting substring of an ISO string that is specific towards a date interval

Interfaces

InterfaceDescription
GetTimeBetweenArgs-

Type Aliases

DateInputTypes

DateInputTypes: Date | string | number | DateTuple

Type that encompasses all the possible date types for easier reference

Source

dates.ts:23


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

dates.ts:18


TimeBetweenIntervals

TimeBetweenIntervals: "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "calendarDays" | "businessDays" | "weeks" | "calendarWeeks" | "months" | "calendarMonths" | "quarters" | "calendarQuarters" | "years" | "calendarYears" | "calendarISOWeekYears" | "ISOWeekYears" | "ISO8601"

Source

dates.ts:11