NumberRangeFormatter.RangeIdentityResult
  public
  static
  final
  
  enum
  NumberRangeFormatter.RangeIdentityResult
  
  
  
  
    extends Enum<NumberRangeFormatter.RangeIdentityResult>
  
  
  
  
  
  
| java.lang.Object | ||
| ↳ | java.lang.Enum<android.icu.number.NumberRangeFormatter.RangeIdentityResult> | |
| ↳ | android.icu.number.NumberRangeFormatter.RangeIdentityResult | |
Used in the result class FormattedNumberRange to indicate to the user whether the numbers formatted in the range were equal or not, and whether or not the identity fallback was applied.
See also:
Summary
| Enum values | |
|---|---|
| NumberRangeFormatter.RangeIdentityResult | EQUAL_AFTER_ROUNDINGUsed to indicate that the two numbers in the range were equal, but only after rounding rules were applied. | 
| NumberRangeFormatter.RangeIdentityResult | EQUAL_BEFORE_ROUNDINGUsed to indicate that the two numbers in the range were equal, even before any rounding rules were applied. | 
| NumberRangeFormatter.RangeIdentityResult | NOT_EQUALUsed to indicate that the two numbers in the range were not equal, even after rounding rules were applied. | 
| Public methods | |
|---|---|
| 
        
        
        static
        
        
        NumberRangeFormatter.RangeIdentityResult | 
      valueOf(String name)
       | 
| 
        
        
        static
        final
        
        RangeIdentityResult[] | 
      values()
       | 
| Inherited methods | |
|---|---|
Enum values
EQUAL_AFTER_ROUNDING
public static final NumberRangeFormatter.RangeIdentityResult EQUAL_AFTER_ROUNDING
Used to indicate that the two numbers in the range were equal, but only after rounding rules were applied.
See also:
EQUAL_BEFORE_ROUNDING
public static final NumberRangeFormatter.RangeIdentityResult EQUAL_BEFORE_ROUNDING
Used to indicate that the two numbers in the range were equal, even before any rounding rules were applied.
See also:
NOT_EQUAL
public static final NumberRangeFormatter.RangeIdentityResult NOT_EQUAL
Used to indicate that the two numbers in the range were not equal, even after rounding rules were applied.
See also:
Public methods
valueOf
public static NumberRangeFormatter.RangeIdentityResult valueOf (String name)
| Parameters | |
|---|---|
| name | String | 
| Returns | |
|---|---|
| NumberRangeFormatter.RangeIdentityResult | |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
