TemporalSpanResolution Class

Definition

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

public class TemporalSpanResolution : Azure.AI.Language.Conversations.Models.ResolutionBase, System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Models.TemporalSpanResolution>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Models.TemporalSpanResolution>
type TemporalSpanResolution = class
    inherit ResolutionBase
    interface IJsonModel<TemporalSpanResolution>
    interface IPersistableModel<TemporalSpanResolution>
Public Class TemporalSpanResolution
Inherits ResolutionBase
Implements IJsonModel(Of TemporalSpanResolution), IPersistableModel(Of TemporalSpanResolution)
Inheritance
TemporalSpanResolution
Implements

Properties

Begin

represents the resolution of a date and/or time span. 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

represents the resolution of a date and/or time span. 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.

Timex

An optional triplet containing the beginning, the end, and the duration all stated as ISO 8601 formatted strings.

Explicit Interface Implementations

IJsonModel<ResolutionBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ResolutionBase)
IJsonModel<ResolutionBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ResolutionBase)
IJsonModel<TemporalSpanResolution>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<TemporalSpanResolution>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ResolutionBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ResolutionBase)
IPersistableModel<ResolutionBase>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ResolutionBase)
IPersistableModel<ResolutionBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ResolutionBase)
IPersistableModel<TemporalSpanResolution>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TemporalSpanResolution>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<TemporalSpanResolution>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to