Compartilhar via


TextAnalysisModelFactory.TimeMetadata(IEnumerable<DateValue>) Method

Definition

Initializes a new instance of TimeMetadata.

public static Azure.AI.Language.Text.TimeMetadata TimeMetadata (System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DateValue> dates = default);
static member TimeMetadata : seq<Azure.AI.Language.Text.DateValue> -> Azure.AI.Language.Text.TimeMetadata
Public Shared Function TimeMetadata (Optional dates As IEnumerable(Of DateValue) = Nothing) As TimeMetadata

Parameters

dates
IEnumerable<DateValue>

List of date values.

Returns

A new TimeMetadata instance for mocking.

Applies to