RangeIdentityResult
class RangeIdentityResult
kotlin.Any | ||
↳ | kotlin.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.
Summary
Enum values | |
---|---|
Used to indicate that the two numbers in the range were equal, but only after rounding rules were applied. |
|
Used to indicate that the two numbers in the range were equal, even before any rounding rules were applied. |
|
Used to indicate that the two numbers in the range were not equal, even after rounding rules were applied. |
Enum values
EQUAL_AFTER_ROUNDING
enum val EQUAL_AFTER_ROUNDING : NumberRangeFormatter.RangeIdentityResult
Used to indicate that the two numbers in the range were equal, but only after rounding rules were applied.
EQUAL_BEFORE_ROUNDING
enum val EQUAL_BEFORE_ROUNDING : NumberRangeFormatter.RangeIdentityResult
Used to indicate that the two numbers in the range were equal, even before any rounding rules were applied.
NOT_EQUAL
enum val NOT_EQUAL : NumberRangeFormatter.RangeIdentityResult
Used to indicate that the two numbers in the range were not equal, even after rounding rules were applied.