public static enum NumberFormatter.DecimalSeparatorDisplay extends java.lang.Enum<NumberFormatter.DecimalSeparatorDisplay>
NumberFormatter| Enum Constant and Description |
|---|
ALWAYS
Always show the decimal separator, even if there are no digits to display after the separator.
|
AUTO
Show the decimal separator when there are one or more digits to display after the separator,
and do not show it otherwise.
|
| Modifier and Type | Method and Description |
|---|---|
static NumberFormatter.DecimalSeparatorDisplay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NumberFormatter.DecimalSeparatorDisplay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberFormatter.DecimalSeparatorDisplay AUTO
NumberFormatterpublic static final NumberFormatter.DecimalSeparatorDisplay ALWAYS
NumberFormatterpublic static NumberFormatter.DecimalSeparatorDisplay[] values()
for (NumberFormatter.DecimalSeparatorDisplay c : NumberFormatter.DecimalSeparatorDisplay.values()) System.out.println(c);
public static NumberFormatter.DecimalSeparatorDisplay 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.