Class DateTimeResolution

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

public final class DateTimeResolution extends BaseResolution
A resolution for datetime entity instances.
  • Constructor Details

    • DateTimeResolution

      public DateTimeResolution()
  • Method Details

    • getTimex

      public String getTimex()
      Get the timex 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 timex value.
    • getDateTimeSubKind

      public DateTimeSubKind getDateTimeSubKind()
      Get the dateTimeSubKind property: The DateTime SubKind.
      Returns:
      the dateTimeSubKind value.
    • getValue

      public String getValue()
      Get the value property: The actual time that the extracted text denote.
      Returns:
      the value value.
    • getModifier

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