ConversationsModelFactory.DateTimeResolution Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DateTimeResolution.
public static Azure.AI.Language.Conversations.Models.DateTimeResolution DateTimeResolution (string timex = default, Azure.AI.Language.Conversations.Models.DateTimeSubKind dateTimeSubKind = default, string value = default, Azure.AI.Language.Conversations.Models.TemporalModifier? modifier = default);
static member DateTimeResolution : string * Azure.AI.Language.Conversations.Models.DateTimeSubKind * string * Nullable<Azure.AI.Language.Conversations.Models.TemporalModifier> -> Azure.AI.Language.Conversations.Models.DateTimeResolution
Public Shared Function DateTimeResolution (Optional timex As String = Nothing, Optional dateTimeSubKind As DateTimeSubKind = Nothing, Optional value As String = Nothing, Optional modifier As Nullable(Of TemporalModifier) = Nothing) As DateTimeResolution
Parameters
- timex
- String
An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml).
- dateTimeSubKind
- DateTimeSubKind
The DateTime SubKind.
- value
- String
The actual time that the extracted text denote.
- modifier
- Nullable<TemporalModifier>
An optional modifier of a date/time instance.
Returns
A new DateTimeResolution instance for mocking.
Applies to
Azure SDK for .NET