java.io.Serializable, java.lang.Comparable<GroupingStyle>public enum GroupingStyle extends java.lang.Enum<GroupingStyle>
This provides control over the grouping of numbers in formatting.
This class is immutable and thread-safe.
| Enum Constant | Description |
|---|---|
BEFORE_DECIMAL_POINT |
Grouping occurs, but only before the decimal point.
|
FULL |
No grouping occurs.
|
NONE |
No grouping occurs.
|
| Modifier and Type | Method | Description |
|---|---|---|
static GroupingStyle |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static GroupingStyle[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupingStyle NONE
public static final GroupingStyle FULL
public static final GroupingStyle BEFORE_DECIMAL_POINT
public static GroupingStyle[] values()
for (GroupingStyle c : GroupingStyle.values()) System.out.println(c);
public static GroupingStyle 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 © 2009–2018 Joda.org. All rights reserved.