/** * This file is auto generated from JavaDoc. Do not modify it manually. */ import type { Locale } from "../../types/java/util/Locale"; import type { Currency } from "../../types/senselogic/sitevision/api/i18n/Currency"; import type { String } from "../../types/java/lang/String"; /** * Factory for creating Currency instances. * *
* An instance of the Sitevision class implementing this interface can be obtained via
* {@link senselogic.sitevision.api.Utils#getCurrencyFactory()}.
* See {@link senselogic.sitevision.api.Utils} for how to obtain an instance of the Utils interface.
*
* Important Country Note! A Locale without a country can never have a Currency!
* This method will always return null for such Locale.
*
* Tip! {@link senselogic.sitevision.api.i18n.LocaleUtil#resolveCountryLocale(Locale)} might be helpful in order to * compensate for language-only locales. *
* *
* This method is conceptually equivalent with the java.util.Currency.getInstance(Locale) method.
*
* * Currency codes are specified with a three-letter alphabetic code specified by ISO 4217 * *
* *| Currency name | *Currency code | *
|---|---|
| US Dollar | *USD | *
| Euro | *EUR | *
| Brittish Pound | *GBP | *
| Swedish Krona | *SEK | *
| Norwegian Krone | *NOK | *
* This method is conceptually equivalent with the java.util.Currency.getInstance(String) method.
*