Class TemporalSpanResolution
java.lang.Object
com.azure.ai.textanalytics.models.BaseResolution
com.azure.ai.textanalytics.models.TemporalSpanResolution
represents the resolution of a date and/or time span.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBegin()
Get the begin property: An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml).Get the duration property: An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations).getEnd()
Get the end property: An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml).Get the modifier property: An optional modifier of a date/time instance.getTimex()
Get the timex property: An optional triplet containing the beginning, the end, and the duration all stated as ISO 8601 formatted strings.
-
Constructor Details
-
TemporalSpanResolution
public TemporalSpanResolution()
-
-
Method Details
-
getBegin
Get the begin property: An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml).- Returns:
- the begin value.
-
getEnd
Get the end property: An extended ISO 8601 date/time representation as described in (https://github.com/Microsoft/Recognizers-Text/blob/master/Patterns/English/English-DateTime.yaml).- Returns:
- the end value.
-
getDuration
Get the duration property: An optional duration value formatted based on the ISO 8601 (https://en.wikipedia.org/wiki/ISO_8601#Durations).- Returns:
- the duration value.
-
getModifier
Get the modifier property: An optional modifier of a date/time instance.- Returns:
- the modifier value.
-
getTimex
Get the timex property: An optional triplet containing the beginning, the end, and the duration all stated as ISO 8601 formatted strings.- Returns:
- the timex value.
-