| Package | Description |
|---|---|
| org.joda.money.format |
| Modifier and Type | Field | Description |
|---|---|---|
static MoneyAmountStyle |
MoneyAmountStyle.ASCII_DECIMAL_COMMA_GROUP3_DOT |
A style that uses ASCII digits/negative sign, the decimal comma
and groups large amounts in 3's using a dot.
|
static MoneyAmountStyle |
MoneyAmountStyle.ASCII_DECIMAL_COMMA_GROUP3_SPACE |
A style that uses ASCII digits/negative sign, the decimal comma
and groups large amounts in 3's using a space.
|
static MoneyAmountStyle |
MoneyAmountStyle.ASCII_DECIMAL_COMMA_NO_GROUPING |
A style that uses ASCII digits/negative sign, the decimal point
and no grouping of large amounts.
|
static MoneyAmountStyle |
MoneyAmountStyle.ASCII_DECIMAL_POINT_GROUP3_COMMA |
A style that uses ASCII digits/negative sign, the decimal point
and groups large amounts in 3's using a comma.
|
static MoneyAmountStyle |
MoneyAmountStyle.ASCII_DECIMAL_POINT_GROUP3_SPACE |
A style that uses ASCII digits/negative sign, the decimal point
and groups large amounts in 3's using a space.
|
static MoneyAmountStyle |
MoneyAmountStyle.ASCII_DECIMAL_POINT_NO_GROUPING |
A style that uses ASCII digits/negative sign, the decimal point
and no grouping of large amounts.
|
static MoneyAmountStyle |
MoneyAmountStyle.LOCALIZED_GROUPING |
A style that will be filled in with localized values using the locale of the formatter.
|
static MoneyAmountStyle |
MoneyAmountStyle.LOCALIZED_NO_GROUPING |
A style that will be filled in with localized values using the locale of the formatter.
|
| Modifier and Type | Method | Description |
|---|---|---|
MoneyAmountStyle |
MoneyAmountStyle.localize(java.util.Locale locale) |
Returns a
MoneyAmountStyle instance configured for the specified locale. |
static MoneyAmountStyle |
MoneyAmountStyle.of(java.util.Locale locale) |
Gets a localized style.
|
MoneyAmountStyle |
MoneyAmountStyle.withAbsValue(boolean absValue) |
Returns a copy of this style with the specified absolute value setting.
|
MoneyAmountStyle |
MoneyAmountStyle.withDecimalPointCharacter(java.lang.Character decimalPointCharacter) |
Returns a copy of this style with the specified decimal point character.
|
MoneyAmountStyle |
MoneyAmountStyle.withExtendedGroupingSize(java.lang.Integer extendedGroupingSize) |
Returns a copy of this style with the specified extended grouping size.
|
MoneyAmountStyle |
MoneyAmountStyle.withForcedDecimalPoint(boolean forceDecimalPoint) |
Returns a copy of this style with the specified decimal point setting.
|
MoneyAmountStyle |
MoneyAmountStyle.withGroupingCharacter(java.lang.Character groupingCharacter) |
Returns a copy of this style with the specified grouping character.
|
MoneyAmountStyle |
MoneyAmountStyle.withGroupingSize(java.lang.Integer groupingSize) |
Returns a copy of this style with the specified grouping size.
|
MoneyAmountStyle |
MoneyAmountStyle.withGroupingStyle(GroupingStyle groupingStyle) |
Returns a copy of this style with the specified grouping setting.
|
MoneyAmountStyle |
MoneyAmountStyle.withNegativeSignCharacter(java.lang.Character negativeCharacter) |
Returns a copy of this style with the specified negative sign character.
|
MoneyAmountStyle |
MoneyAmountStyle.withPositiveSignCharacter(java.lang.Character positiveCharacter) |
Returns a copy of this style with the specified positive sign character.
|
MoneyAmountStyle |
MoneyAmountStyle.withZeroCharacter(java.lang.Character zeroCharacter) |
Returns a copy of this style with the specified zero character.
|
| Modifier and Type | Method | Description |
|---|---|---|
MoneyFormatterBuilder |
MoneyFormatterBuilder.appendAmount(MoneyAmountStyle style) |
Appends the amount to the builder using the specified amount style.
|
Copyright © 2009–2018 Joda.org. All rights reserved.