다음을 통해 공유


DateValue Class

Definition

Represents the date value.

public class DateValue : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.DateValue>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.DateValue>
type DateValue = class
    interface IJsonModel<DateValue>
    interface IPersistableModel<DateValue>
Public Class DateValue
Implements IJsonModel(Of DateValue), IPersistableModel(Of DateValue)
Inheritance
DateValue
Implements

Properties

Modifier

Modifier for datetime to indicate point of reference like before, after etc.

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<DateValue>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DateValue>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DateValue>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DateValue>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DateValue>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to