Class DateIntervalFormat.SpanField

All Implemented Interfaces:
Serializable
Enclosing class:
DateIntervalFormat

public static final class DateIntervalFormat.SpanField extends UFormat.SpanField
Class for span fields in FormattedDateInterval.
See Also:
Status:
Stable ICU 64.
  • Field Details

    • DATE_INTERVAL_SPAN

      public static final DateIntervalFormat.SpanField DATE_INTERVAL_SPAN
      The concrete field used for spans in FormattedDateInterval.

      Instances of DATE_INTERVAL_SPAN should have an associated value. If 0, the date fields within the span are for the "from" date; if 1, the date fields within the span are for the "to" date.

      Status:
      Stable ICU 64.
  • Method Details