@Deprecated public final class MonetaryAmountSymbols extends Object
MonetaryAmountFormatSymbols, this class decorate the
DecimalFormatSymbolsDecimalFormatSymbols},
MonetaryAmountFormat},
MonetaryAmountFormatSymbols}| Constructor and Description |
|---|
MonetaryAmountSymbols()
Deprecated.
Create a MonetaryAmountFormatSymbols object for the default FORMAT locale.
|
MonetaryAmountSymbols(Locale locale)
Deprecated.
Create a MonetaryAmountFormatSymbols object for the given locale
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Deprecated.
|
javax.money.CurrencyUnit |
getCurrency()
Deprecated.
|
String |
getCurrencySymbol()
Deprecated.
|
char |
getDecimalSeparator()
Deprecated.
Gets the character used for decimal sign.
|
char |
getDigit()
Deprecated.
|
String |
getExponentSeparator()
Deprecated.
|
char |
getGroupingSeparator()
Deprecated.
|
String |
getInfinity()
Deprecated.
|
String |
getInternationalCurrencySymbol()
Deprecated.
|
char |
getMinusSign()
Deprecated.
Gets the character used to represent minus sign.
|
char |
getMonetaryDecimalSeparator()
Deprecated.
|
String |
getNaN()
Deprecated.
|
char |
getPatternSeparator()
Deprecated.
|
char |
getPercent()
Deprecated.
|
char |
getPerMill()
Deprecated.
|
char |
getZeroDigit()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
setCurrency(javax.money.CurrencyUnit currency)
Deprecated.
Sets the currency of these MonetaryAmountFormatSymbols.
|
void |
setCurrencySymbol(String currencySymbol)
Deprecated.
Sets the currency symbol for the currency of these MonetaryAmountFormatSymbols in their locale.
|
void |
setDecimalSeparator(char decimalSeparator)
Deprecated.
Sets the character used for decimal sign.
|
void |
setDigit(char digit)
Deprecated.
Sets the character used for a digit in a pattern.
|
void |
setExponentSeparator(String exponentSeparator)
Deprecated.
Sets the string used to separate the mantissa from the exponent.
|
void |
setGroupingSeparator(char groupingSeparator)
Deprecated.
Sets the character used for thousands separator.
|
void |
setInfinity(String infinity)
Deprecated.
Sets the string used to represent infinity.
|
void |
setInternationalCurrencySymbol(String internationalCurrencySymbol)
Deprecated.
Sets the ISO 4217 currency code of the currency of these MonetaryAmountFormatSymbols.
|
void |
setMinusSign(char minusSign)
Deprecated.
Sets the character used to represent minus sign.
|
void |
setMonetaryDecimalSeparator(char monetaryDecimalSeparator)
Deprecated.
Sets the monetary decimal separator.
|
void |
setNaN(String naN)
Deprecated.
Sets the string used to represent "not a number".
|
void |
setPatternSeparator(char patternSeparator)
Deprecated.
Sets the character used to separate positive and negative subpatterns in a pattern.
|
void |
setPercent(char percent)
Deprecated.
Sets the character used for percent sign.
|
void |
setPerMill(char perMill)
Deprecated.
Sets the character used for per mille sign.
|
void |
setZeroDigit(char zeroDigit)
Deprecated.
Sets the character used for zero.
|
String |
toString()
Deprecated.
|
public MonetaryAmountSymbols(Locale locale)
locale - DecimalFormatSymbols#DecimalFormatSymbols(Locale)}public MonetaryAmountSymbols()
Locale.getDefault(Locale.Category.FORMAT)}
{@link DecimalFormatSymbols#DecimalFormatSymbols()}public javax.money.CurrencyUnit getCurrency()
public void setCurrency(javax.money.CurrencyUnit currency)
currency - NullPointerException - if currency is nullpublic String getCurrencySymbol()
public void setCurrencySymbol(String currencySymbol)
currencySymbol - public char getDecimalSeparator()
public void setDecimalSeparator(char decimalSeparator)
decimalSeparator - public char getDigit()
public void setDigit(char digit)
digit - public String getExponentSeparator()
public void setExponentSeparator(String exponentSeparator)
exponentSeparator - public char getGroupingSeparator()
public void setGroupingSeparator(char groupingSeparator)
groupingSeparator - public String getInfinity()
public void setInfinity(String infinity)
infinity - public String getInternationalCurrencySymbol()
public void setInternationalCurrencySymbol(String internationalCurrencySymbol)
internationalCurrencySymbol - public char getMinusSign()
public void setMinusSign(char minusSign)
minusSign - public char getMonetaryDecimalSeparator()
public void setMonetaryDecimalSeparator(char monetaryDecimalSeparator)
monetaryDecimalSeparator - public String getNaN()
public void setNaN(String naN)
naN - public char getPatternSeparator()
public void setPatternSeparator(char patternSeparator)
patternSeparator - public char getPercent()
public void setPercent(char percent)
percent - public char getPerMill()
public void setPerMill(char perMill)
perMill - public char getZeroDigit()
public void setZeroDigit(char zeroDigit)
zeroDigit - Copyright © 2012-2016 JavaMoney. All Rights Reserved.