gram_ast.timeintervalliteral


gram.js API

Globals / gram-ast / TimeIntervalLiteral

Interface: TimeIntervalLiteral

Represents an ISO8601 time interval, like 2007-03-01T13:00:00Z/2008-05-11T15:30:00Z.

This can also represent a repeating interval.

see Wikipedia ISO8601 Time_intervals

see Wikipedia ISO8601 Repeating_intervals

Hierarchy

Indexable

▪ [key: string]: unknown

Represents an ISO8601 time interval, like 2007-03-01T13:00:00Z/2008-05-11T15:30:00Z.

This can also represent a repeating interval.

see Wikipedia ISO8601 Time_intervals

see Wikipedia ISO8601 Repeating_intervals

Index

Properties

Properties

data

Optional data: Data

Inherited from GramSeq.data

Defined in packages/gram-ast/node_modules/@types/unist/index.d.ts:23

Information from the ecosystem.


position

Optional position: Position

Inherited from GramSeq.position

Defined in packages/gram-ast/node_modules/@types/unist/index.d.ts:29

Location of a node in a source document. Must not be present if a node is generated.


tag

tag: "interval"

Overrides TaggedTextLiteral.tag

Defined in packages/gram-ast/src/index.ts:561


type

type: "tagged"

Inherited from TaggedTextLiteral.type

Overrides void

Defined in packages/gram-ast/src/index.ts:451


value

value: string

Inherited from StringLiteral.value

Overrides void

Defined in packages/gram-ast/src/index.ts:277