Class NumberRangeFormatter.SpanField

All Implemented Interfaces:
Serializable
Enclosing class:
NumberRangeFormatter

public static final class NumberRangeFormatter.SpanField extends UFormat.SpanField
Class for span fields in FormattedNumberRange.
Author:
sffc
See Also:
Status:
Stable ICU 69.
  • Field Details

    • NUMBER_RANGE_SPAN

      public static final NumberRangeFormatter.SpanField NUMBER_RANGE_SPAN
      The concrete field used for spans in FormattedNumberRange.

      Instances of NUMBER_RANGE_SPAN should have an associated value, the index within the input list that is represented by the span.

      Status:
      Stable ICU 69.
  • Method Details