Home | History | Annotate | Download | only in number

Lines Matching full:currency

6 import com.ibm.icu.util.Currency;
9 public class CustomSymbolCurrency extends Currency {
16 public static Currency resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols) {
17 if (currency == null) {
18 currency = symbols.getCurrency();
22 if (currency == null) {
25 if (!currency.equals(symbols.getCurrency())) {
26 return currency;
28 String currency1 = currency.getName(symbols.getULocale(), Currency.SYMBOL_NAME, null);
29 String currency2 = currency.getCurrencyCode();
33 return currency;
54 // Plural in absence of a currency should return the symbol