Package | Description |
---|---|
java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages
in a manner independent of natural languages.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, internationalization, and miscellaneous utility
classes (a string tokenizer, a random-number generator, and a bit array).
|
Modifier and Type | Method and Description |
---|---|
Currency |
NumberFormat.getCurrency()
Gets the currency used by this number format when formatting
currency values.
|
Currency |
DecimalFormatSymbols.getCurrency()
Gets the currency of these DecimalFormatSymbols.
|
Currency |
DecimalFormat.getCurrency()
Gets the currency used by this decimal format when formatting
currency values.
|
Modifier and Type | Method and Description |
---|---|
void |
NumberFormat.setCurrency(Currency currency)
Sets the currency used by this number format when formatting
currency values.
|
void |
DecimalFormatSymbols.setCurrency(Currency currency)
Sets the currency of these DecimalFormatSymbols.
|
void |
DecimalFormat.setCurrency(Currency currency)
Sets the currency used by this number format when formatting
currency values.
|
Modifier and Type | Method and Description |
---|---|
static Currency |
Currency.getInstance(Locale locale)
Returns the
Currency instance for the country of the
given locale. |
static Currency |
Currency.getInstance(String currencyCode)
Returns the
Currency instance for the given currency code. |
Modifier and Type | Method and Description |
---|---|
static Set<Currency> |
Currency.getAvailableCurrencies()
Gets the set of available currencies.
|
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2021 aicas GmbH. All Rights Reserved.