Class ICUCurrencyMetaInfo
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.text.CurrencyMetaInfo
org.graalvm.shadowed.com.ibm.icu.impl.ICUCurrencyMetaInfo
ICU's currency meta info data.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.graalvm.shadowed.com.ibm.icu.text.CurrencyMetaInfo
CurrencyMetaInfo.CurrencyDigits, CurrencyMetaInfo.CurrencyFilter, CurrencyMetaInfo.CurrencyInfo -
Field Summary
Fields inherited from class org.graalvm.shadowed.com.ibm.icu.text.CurrencyMetaInfo
defaultDigits -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the list of currency codes matching the provided filter.currencyDigits(String isoCode) Returns the CurrencyDigits for the currency code.currencyDigits(String isoCode, Currency.CurrencyUsage currencyPurpose) Returns the CurrencyDigits for the currency code with Context Usage.Returns the list of CurrencyInfos matching the provided filter.Returns the list of region codes matching the provided filter.Methods inherited from class org.graalvm.shadowed.com.ibm.icu.text.CurrencyMetaInfo
getInstance, getInstance, hasData
-
Constructor Details
-
ICUCurrencyMetaInfo
public ICUCurrencyMetaInfo()
-
-
Method Details
-
currencyInfo
Description copied from class:CurrencyMetaInfoReturns the list of CurrencyInfos matching the provided filter. Results are ordered by country code, then by highest to lowest priority (0 is highest). The returned list is unmodifiable.- Overrides:
currencyInfoin classCurrencyMetaInfo- Parameters:
filter- the filter to control which currency info to return- Returns:
- the matching information
-
currencies
Description copied from class:CurrencyMetaInfoReturns the list of currency codes matching the provided filter. Results are ordered as inCurrencyMetaInfo.currencyInfo(CurrencyFilter). The returned list is unmodifiable.- Overrides:
currenciesin classCurrencyMetaInfo- Parameters:
filter- the filter to control which currencies to return. If filter is null, returns all currencies for which information is available.- Returns:
- the matching currency codes
-
regions
Description copied from class:CurrencyMetaInfoReturns the list of region codes matching the provided filter. Results are ordered as inCurrencyMetaInfo.currencyInfo(CurrencyFilter). The returned list is unmodifiable.- Overrides:
regionsin classCurrencyMetaInfo- Parameters:
filter- the filter to control which regions to return. If filter is null, returns all regions for which information is available.- Returns:
- the matching region codes
-
currencyDigits
Description copied from class:CurrencyMetaInfoReturns the CurrencyDigits for the currency code. This is equivalent to currencyDigits(isoCode, CurrencyUsage.STANDARD);- Overrides:
currencyDigitsin classCurrencyMetaInfo- Parameters:
isoCode- the currency code- Returns:
- the CurrencyDigits
-
currencyDigits
public CurrencyMetaInfo.CurrencyDigits currencyDigits(String isoCode, Currency.CurrencyUsage currencyPurpose) Description copied from class:CurrencyMetaInfoReturns the CurrencyDigits for the currency code with Context Usage.- Overrides:
currencyDigitsin classCurrencyMetaInfo- Parameters:
isoCode- the currency codecurrencyPurpose- the currency usage- Returns:
- the CurrencyDigits
-