Dela via


DateTimeResolution Class

Definition

A resolution for datetime entity instances.

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

Properties

DateTimeSubKind

The DateTime SubKind.

Modifier

An optional modifier of a date/time instance.

Timex

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

Value

The actual time that the extracted text denote.

Explicit Interface Implementations

IJsonModel<DateTimeResolution>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DateTimeResolution>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<DateTimeResolution>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DateTimeResolution>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DateTimeResolution>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

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)

Applies to