| ★ wanayoo — archive 1999 http://developer.android.com/reference/java/text/DecimalFormatSymbols.html | Nouvelle recherche | Portail wanayoo |
| java.lang.Object | |
| ↳ | java.text.DecimalFormatSymbols |
DecimalFormatSymbols holds the symbols used in the formating and parsing of numbers.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new DecimalFormatSymbols containing the symbols for the
default Locale.
| |||||||||||
Constructs a new DecimalFormatSymbols containing the symbols for the
specified Locale.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a new DecimalFormatSymbols with the same symbols as this
DecimalFormatSymbols.
| |||||||||||
Compares the specified object to this DecimalFormatSymbols and answer if
they are equal.
| |||||||||||
Returns the currency.
| |||||||||||
Returns the currency symbol.
| |||||||||||
Returns the character which represents the decimal point in a number.
| |||||||||||
Returns the character which represents a single digit in a format
pattern.
| |||||||||||
Returns the character used as the thousands separator in a number.
| |||||||||||
Returns the String which represents infinity.
| |||||||||||
Returns the international currency symbol.
| |||||||||||
Returns the minus sign character.
| |||||||||||
Returns the character which represents the decimal point in a monetary
value.
| |||||||||||
Returns the String which represents NaN.
| |||||||||||
Returns the character which separates the positive and negative patterns
in a format pattern.
| |||||||||||
Returns the mille percent sign character.
| |||||||||||
Returns the percent character.
| |||||||||||
Returns the character which represents zero.
| |||||||||||
Returns an integer hash code for the receiver.
| |||||||||||
Sets the currency.
| |||||||||||
Sets the currency symbol.
| |||||||||||
Sets the character which represents the decimal point in a number.
| |||||||||||
Sets the character which represents a single digit in a format pattern.
| |||||||||||
Sets the character used as the thousands separator in a number.
| |||||||||||
Sets the String which represents infinity.
| |||||||||||
Sets the international currency symbol.
| |||||||||||
Sets the minus sign character.
| |||||||||||
Sets the character which represents the decimal point in a monetary
value.
| |||||||||||
Sets the String which represents NaN.
| |||||||||||
Sets the character which separates the positive and negative patterns in
a format pattern.
| |||||||||||
Sets the mille percent sign character.
| |||||||||||
Sets the percent character.
| |||||||||||
Sets the character which represents zero.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
| |||||||||||
Constructs a new DecimalFormatSymbols containing the symbols for the default Locale.
Constructs a new DecimalFormatSymbols containing the symbols for the specified Locale.
| locale | the Locale |
|---|
Returns a new DecimalFormatSymbols with the same symbols as this DecimalFormatSymbols.
Compares the specified object to this DecimalFormatSymbols and answer if they are equal. The object must be an instance of DecimalFormatSymbols with the same symbols.
| object | the object to compare with this object |
|---|
Returns the currency.
null is returned
if setInternationalCurrencySymbol() has been previously called
with a value that is not a valid ISO 4217 currency code.
setCurrency(),
or setInternationalCurrencySymbol(), or nullReturns the currency symbol.
Returns the character which represents the decimal point in a number.
Returns the character which represents a single digit in a format pattern.
Returns the character used as the thousands separator in a number.
Returns the String which represents infinity.
Returns the international currency symbol.
Returns the minus sign character.
Returns the character which represents the decimal point in a monetary value.
Returns the String which represents NaN.
Returns the character which separates the positive and negative patterns in a format pattern.
Returns the mille percent sign character.
Returns the percent character.
Returns the character which represents zero.
Returns an integer hash code for the receiver. Objects which are equal answer the same value for this method.
Sets the currency.
The international currency symbol and currency symbol are updated, but the min and max number of fraction digits stay the same.
| currency | the new currency |
|---|
| NullPointerException | if currency is null |
|---|
Sets the currency symbol.
| value | a String |
|---|
Sets the character which represents the decimal point in a number.
| value | the decimal separator character |
|---|
Sets the character which represents a single digit in a format pattern.
| value | the digit character |
|---|
Sets the character used as the thousands separator in a number.
| value | the grouping separator character |
|---|
Sets the String which represents infinity.
| value | the String |
|---|
Sets the international currency symbol.
currency and currency symbol also are updated, if value is
a valid ISO4217 currency code.
The min and max number of fraction digits stay the same.
| value | currency code |
|---|
Sets the minus sign character.
| value | the minus sign character |
|---|
Sets the character which represents the decimal point in a monetary value.
| value | the monetary decimal separator character |
|---|
Sets the String which represents NaN.
| value | the String |
|---|
Sets the character which separates the positive and negative patterns in a format pattern.
| value | the pattern separator character |
|---|
Sets the mille percent sign character.
| value | the mille percent character |
|---|
Sets the percent character.
| value | the percent character |
|---|
Sets the character which represents zero.
| value | the zero digit character |
|---|