public static enum NumberRangeFormatter.RangeIdentityFallback extends java.lang.Enum<NumberRangeFormatter.RangeIdentityFallback>
NumberRangeFormatter| Enum Constant and Description |
|---|
APPROXIMATELY
Show the number using a locale-sensitive approximation pattern.
|
APPROXIMATELY_OR_SINGLE_VALUE
Show the number using a locale-sensitive approximation pattern.
|
RANGE
Show the number as the range of two equal values.
|
SINGLE_VALUE
Show the number as a single value rather than a range.
|
| Modifier and Type | Method and Description |
|---|---|
static NumberRangeFormatter.RangeIdentityFallback |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NumberRangeFormatter.RangeIdentityFallback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberRangeFormatter.RangeIdentityFallback SINGLE_VALUE
NumberRangeFormatterpublic static final NumberRangeFormatter.RangeIdentityFallback APPROXIMATELY_OR_SINGLE_VALUE
NumberRangeFormatterpublic static final NumberRangeFormatter.RangeIdentityFallback APPROXIMATELY
NumberRangeFormatterpublic static final NumberRangeFormatter.RangeIdentityFallback RANGE
NumberRangeFormatterpublic static NumberRangeFormatter.RangeIdentityFallback[] values()
for (NumberRangeFormatter.RangeIdentityFallback c : NumberRangeFormatter.RangeIdentityFallback.values()) System.out.println(c);
public static NumberRangeFormatter.RangeIdentityFallback valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2016 Unicode, Inc. and others.