TextAnalysisModelFactory.TemporalSpanValues 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 TemporalSpanValues.
public static Azure.AI.Language.Text.TemporalSpanValues TemporalSpanValues (string begin = default, string end = default, string duration = default, Azure.AI.Language.Text.TemporalModifier? modifier = default, string timex = default);
static member TemporalSpanValues : string * string * string * Nullable<Azure.AI.Language.Text.TemporalModifier> * string -> Azure.AI.Language.Text.TemporalSpanValues
Public Shared Function TemporalSpanValues (Optional begin As String = Nothing, Optional end As String = Nothing, Optional duration As String = Nothing, Optional modifier As Nullable(Of TemporalModifier) = Nothing, Optional timex As String = Nothing) As TemporalSpanValues
Parameters
- begin
- String
Start value for the span.
- end
- String
End value for the span.
- duration
- String
An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations).
- modifier
- Nullable<TemporalModifier>
Modifier for datetime to indicate point of reference like before, after etc.
- timex
- String
An optional triplet containing the beginning, the end, and the duration all stated as ISO 8601 formatted strings.
Returns
A new TemporalSpanValues instance for mocking.