TemporalSpanResolution interface

represents the resolution of a date and/or time span.

Extends

Properties

begin

An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml)

duration

An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations)

end

An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml)

modifier

An optional modifier of a date/time instance.

resolutionKind

Polymorphic discriminator, which specifies the different types this object can be

Property Details

begin

An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml)

begin?: string

Property Value

string

duration

An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations)

duration?: string

Property Value

string

end

An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml)

end?: string

Property Value

string

modifier

An optional modifier of a date/time instance.

modifier?: string

Property Value

string

resolutionKind

Polymorphic discriminator, which specifies the different types this object can be

resolutionKind: "TemporalSpan"

Property Value

"TemporalSpan"