Class RangeFormat.Field

All Implemented Interfaces:
Serializable
Enclosing class:
Range­Format

public static final class RangeFormat.Field extends Format.Field
Constants that are used as attribute keys in the iterator returned from Range­Format​.format­To­Character­Iterator(Object).
Since:
0.3
See Also:
  • Field Details

    • MIN_VALUE

      public static final RangeFormat.Field MIN_VALUE
      Identifies the minimal value field in a range. When formatting a string, this value may be specified to the Field­Position constructor in order to get the bounding index where the minimal value has been written.
    • MAX_VALUE

      public static final RangeFormat.Field MAX_VALUE
      Identifies the maximal value field in a range. When formatting a string, this value may be specified to the Field­Position constructor in order to get the bounding index where the maximal value has been written.
    • UNIT

      public static final RangeFormat.Field UNIT
      Identifies the unit field in a range, if any. When formatting a string, this value may be specified to the Field­Position constructor in order to get the bounding index where the unit has been written.
  • Method Details