TimeParts

Interface: TimeParts

Defined in: src/core/time/reader.ts:119

Zone-less parts, in the order the text wrote them. Every field present was said.

Properties

anchor?

readonly optional anchor?: "previous"

Defined in: src/core/time/reader.ts:128

'the hour before that' — resolved from the recorded previous window only.


date?

readonly optional date?: TimeDate

Defined in: src/core/time/reader.ts:120


partOfDay?

readonly optional partOfDay?: string

Defined in: src/core/time/reader.ts:126

'morning' — a KEY into a table, never hours.


rangeOf?

readonly optional rangeOf?: readonly [TimeParts, TimeParts]

Defined in: src/core/time/reader.ts:130

'8 AM to 8:40 AM'.


relative?

readonly optional relative?: TimeRelative

Defined in: src/core/time/reader.ts:124


wall?

readonly optional wall?: TimeWall

Defined in: src/core/time/reader.ts:121


zoneToken?

readonly optional zoneToken?: string

Defined in: src/core/time/reader.ts:123

As written: 'PST', '-07:00', 'America/Los_Angeles' — resolve.ts maps it.

On this page