public final class AmountFormatParams extends Object
MonetaryAmountFactoryQuery
instances for configuring MonetaryAmountFormat instances to be accessed.| Modifier and Type | Field and Description |
|---|---|
static String |
GROUPING_GROUPING_SEPARATORS
Allows to define the grouping characters of a number groups as
char[], hereby starting from the decimal point. |
static String |
GROUPING_SIZES
Allows to define the grouping sizes of the number groups as
int[], hereby starting from the decimal point. |
static String |
PATTERN
Allows to pass a pattern as defined by
DecimalFormat. |
public static final String PATTERN
DecimalFormat.public static final String GROUPING_SIZES
int[], hereby starting from the decimal point.
So 2, 2, 3 will format the number 1234567890 as 123.456.78.90, assuming '.' as the only
grouping char. The grouping chars used can be similarly adapted/combined, see #GROUPING_GROUPING_SEPARATORS.public static final String GROUPING_GROUPING_SEPARATORS
char[], hereby starting from the decimal point.
So '''',':','.' will format the number 1234567890 as 1'234:567.890, assuming 3 as the only
grouping size. The grouping sizes used can be similarly adapted/combined, see #GROUPING_SIZES.Copyright © 2012-2015 JavaMoney. All Rights Reserved.