## Uses of Class
java.util.Currency

- Packages that use Currency
  Package | Description
  --- | ---
  java.text |
  java.util |

- - ### Uses of Currency in java.text

    Methods in java.text that return Currency
    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.

    Methods in java.text with parameters of type Currency
    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.

  - ### Uses of Currency in java.util

    Methods in java.util that return Currency
    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.

    Methods in java.util that return types with arguments of type Currency
    Modifier and Type | Method and Description
    --- | ---
    `static Set<Currency>` | Currency.`getAvailableCurrencies()` Gets the set of available currencies.

Copyright © 2025 API Design. All Rights Reserved.