/** * Provides the global currency format for the current locale, using a * specified currency. * * @param currencyCode valid currency code, as defined in * com.google.gwt.i18n.client.constants.CurrencyCodeMapConstants.properties * @return a <code>NumberFormat</code> capable of producing and consuming * currency format for the current locale * @throws IllegalArgumentException if the currency code is unknown */ public static NumberFormat getGlobalCurrencyFormat(String currencyCode) { return getGlobalCurrencyFormat(lookupCurrency(currencyCode)); }
/** * Provides the global currency format for the current locale, using its * default currency. * * @return a <code>NumberFormat</code> capable of producing and consuming * currency format for the current locale */ public static NumberFormat getGlobalCurrencyFormat() { return getGlobalCurrencyFormat(CurrencyList.get().getDefault()); }
/** * Provides the global currency format for the current locale, using a * specified currency. * * @param currencyCode valid currency code, as defined in * com.google.gwt.i18n.client.constants.CurrencyCodeMapConstants.properties * @return a <code>NumberFormat</code> capable of producing and consuming * currency format for the current locale * @throws IllegalArgumentException if the currency code is unknown */ public static NumberFormat getGlobalCurrencyFormat(String currencyCode) { return getGlobalCurrencyFormat(lookupCurrency(currencyCode)); }
/** * Provides the global currency format for the current locale, using a * specified currency. * * @param currencyCode valid currency code, as defined in * com.google.gwt.i18n.client.constants.CurrencyCodeMapConstants.properties * @return a <code>NumberFormat</code> capable of producing and consuming * currency format for the current locale * @throws IllegalArgumentException if the currency code is unknown */ public static NumberFormat getGlobalCurrencyFormat(String currencyCode) { return getGlobalCurrencyFormat(lookupCurrency(currencyCode)); }
/** * Provides the global currency format for the current locale, using its * default currency. * * @return a <code>NumberFormat</code> capable of producing and consuming * currency format for the current locale */ public static NumberFormat getGlobalCurrencyFormat() { return getGlobalCurrencyFormat(CurrencyList.get().getDefault()); }
/** * Provides the global currency format for the current locale, using its * default currency. * * @return a <code>NumberFormat</code> capable of producing and consuming * currency format for the current locale */ public static NumberFormat getGlobalCurrencyFormat() { return getGlobalCurrencyFormat(CurrencyList.get().getDefault()); }