Class TemporalSpanResolution

java.lang.Object
com.azure.ai.textanalytics.models.BaseResolution
com.azure.ai.textanalytics.models.TemporalSpanResolution

public final class TemporalSpanResolution extends BaseResolution
represents the resolution of a date and/or time span.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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).
    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.
    Get the timex property: An optional triplet containing the beginning, the end, and the duration all stated as ISO 8601 formatted strings.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TemporalSpanResolution

      public TemporalSpanResolution()
  • Method Details

    • getBegin

      public String 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

      public String 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

      public String 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

      public TemporalModifier getModifier()
      Get the modifier property: An optional modifier of a date/time instance.
      Returns:
      the modifier value.
    • getTimex

      public String 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.