NumberRangeFormatter
| Modifier and Type | Field and Description |
|---|---|
| private volatile NumberRangeFormatterImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv LocalizedNumberRangeFormatter | create(int key, Object value)
Implements abstract com. |
| pack-priv FormattedNumberRange | formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBeforeRounding)
Deprecated
as a consequence of
DecimalQuantity being deprecated.
|
| public FormattedNumberRange | Returns: A FormattedNumberRange object; call .toString() to get the string.The first number in the range, usually to the left in LTR locales. first, int The second number in the range, usually to the right in LTR locales. second)Format the given integers to a string using the settings specified in the NumberRangeFormatter fluent setting chain. |
| public FormattedNumberRange | Returns: A FormattedNumberRange object; call .toString() to get the string.The first number in the range, usually to the left in LTR locales. first, double The second number in the range, usually to the right in LTR locales. second)Format the given doubles to a string using the settings specified in the NumberRangeFormatter fluent setting chain. |
| public FormattedNumberRange | Returns: A FormattedNumberRange object; call .toString() to get the string.The first number in the range, usually to the left in LTR locales. first, Number The second number in the range, usually to the right in LTR locales. second)Format the given Numbers to a string using the settings specified in the NumberRangeFormatter fluent setting chain. |
| fImpl | back to summary |
|---|---|
| private volatile NumberRangeFormatterImpl fImpl | |
| LocalizedNumberRangeFormatter | back to summary |
|---|---|
| pack-priv LocalizedNumberRangeFormatter(NumberRangeFormatterSettings<?> parent, int key, Object value) | |
| create | back to summary |
|---|---|
| pack-priv LocalizedNumberRangeFormatter create(int key, Object value) Implements abstract com.
| |
| formatImpl | back to summary |
|---|---|
| pack-priv FormattedNumberRange formatImpl(DecimalQuantity first, DecimalQuantity second, boolean equalBeforeRounding)
Deprecated as a consequence of | |
| formatRange | back to summary |
|---|---|
| public FormattedNumberRange formatRange(int first, int second) Format the given integers to a string using the settings specified in the NumberRangeFormatter fluent setting chain.
| |
| formatRange | back to summary |
|---|---|
| public FormattedNumberRange formatRange(double first, double second) Format the given doubles to a string using the settings specified in the NumberRangeFormatter fluent setting chain.
| |
| formatRange | back to summary |
|---|---|
| public FormattedNumberRange formatRange(Number first, Number second) Format the given Numbers to a string using the settings specified in the NumberRangeFormatter fluent setting chain.
| |