# Print output for @column tags ?>
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:
Enum values | |
---|---|
NumberRangeFormatter.RangeIdentityResult |
EQUAL_AFTER_ROUNDING
Used to indicate that the two numbers in the range were equal, but only after rounding rules were applied. |
NumberRangeFormatter.RangeIdentityResult |
EQUAL_BEFORE_ROUNDING
Used to indicate that the two numbers in the range were equal, even before any rounding rules were applied. |
NumberRangeFormatter.RangeIdentityResult |
NOT_EQUAL
Used 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 | |
---|---|
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:
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:
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 static NumberRangeFormatter.RangeIdentityResult valueOf (String name)
Parameters | |
---|---|
name |
String |
Returns | |
---|---|
NumberRangeFormatter.RangeIdentityResult |