/external/cldr/tools/java/org/unicode/cldr/util/data/ |
D | ISO4217.txt | 1 #currency | code | name | country-code | country-name | status 9 currency | XAG | Silver | ZZ | (no country) | C 10 currency | XAU | Gold | ZZ | (no country) | C 11 currency | XBA | Bond Markets Units European Composite Unit (EURCO) | ZZ | (no country) | C 12 currency | XBB | European Monetary Unit (E.M.U.-6) | ZZ | (no country) | C 13 currency | XBC | European Unit of Account 9(E.U.A.-9) | ZZ | (no country) | C 14 currency | XBD | European Unit of Account 17(E.U.A.-17) | ZZ | (no country) | C 15 currency | XFO | Gold-Franc | ZZ | (no country) | C 16 currency | XFU | UIC-Franc | ZZ | (no country) | C 17 currency | XPD | Palladium | ZZ | (no country) | C [all …]
|
/external/cldr/tools/java/org/unicode/cldr/icu/ |
D | idList.txt | 1219 currency; AED 1220 currency; AFA 1221 currency; ALL 1222 currency; AMD 1223 currency; AND 1224 currency; ANG 1225 currency; AOA 1226 currency; AOK 1227 currency; AON 1228 currency; AOR [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Currency.java | 42 public final java.util.Currency currency; field in Currency 49 this.currency = delegate; in Currency() 217 return currency.hashCode(); in hashCode() 227 return currency.equals(((Currency)rhs).currency); in equals() 239 return currency.getCurrencyCode(); in getCurrencyCode() 260 return currency.getSymbol(ULocale.getDefault(Category.DISPLAY).toLocale()); in getSymbol() 271 return currency.getSymbol(loc); in getSymbol() 282 return currency.getSymbol(uloc.toLocale()); in getSymbol() 434 return currency.getDefaultFractionDigits(); in getDefaultFractionDigits() 452 return currency.toString(); in toString()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | CheckEnglishCurrencyNames.java | 50 final String currency = dateInfo.getCurrency(); in main() local 54 modernCurrencyCodes2territory.put(currency, territory); in main() 57 currencyCodesWithDates.put(currency, territory); in main() 59 System.out.println("\t" + currency + "\t" + start + "\t" + end); in main() 63 for (String currency : modernCurrencyCodes2territory.keySet()) { in main() 64 final String name = english.getName(CLDRFile.CURRENCY_NAME, currency).toLowerCase(); in main() 66 System.out.println(currency + "\t" + name); in main() 70 for (String currency : currencyCodesWithDates.keySet()) { in main() 71 final String name = english.getName(CLDRFile.CURRENCY_NAME, currency).toLowerCase(); in main() 73 System.out.println(currency + "\t" + name); in main() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CurrencyAmount.java | 33 public CurrencyAmount(Number number, Currency currency) { in CurrencyAmount() argument 34 super(number, currency); in CurrencyAmount() 43 public CurrencyAmount(double number, Currency currency) { in CurrencyAmount() argument 44 super(new Double(number), currency); in CurrencyAmount() 53 public CurrencyAmount(Number number, java.util.Currency currency) { in CurrencyAmount() argument 54 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount() 63 public CurrencyAmount(double number, java.util.Currency currency) { in CurrencyAmount() argument 64 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | CurrencyAmount.java | 32 public CurrencyAmount(Number number, Currency currency) { in CurrencyAmount() argument 33 super(number, currency); in CurrencyAmount() 41 public CurrencyAmount(double number, Currency currency) { in CurrencyAmount() argument 42 super(new Double(number), currency); in CurrencyAmount() 50 public CurrencyAmount(Number number, java.util.Currency currency) { in CurrencyAmount() argument 51 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount() 59 public CurrencyAmount(double number, java.util.Currency currency) { in CurrencyAmount() argument 60 this(number, Currency.fromJavaCurrency(currency)); in CurrencyAmount()
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | CurrencyNameTest.java | 49 Currency currency = Currency.getInstance(l); 50 if (currency != null) { 51 currencies.add(currency); 64 for (Currency currency : AVAILABLE_CURRENCIES) { in TestCurrencySymbols() 65 String currencyCode = currency.getCurrencyCode(); in TestCurrencySymbols() 73 String curSymbol = currency.getSymbol(loc); in TestCurrencySymbols() 97 curSymbol = currency.getSymbol(locIcu); in TestCurrencySymbols() 114 for (Currency currency : AVAILABLE_CURRENCIES) { in TestCurrencyDisplayNames() 115 String currencyCode = currency.getCurrencyCode(); in TestCurrencyDisplayNames() 125 curName = (String)GETDISPLAYNAME_METHOD.invoke(currency, new Object[] {loc}); in TestCurrencyDisplayNames() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | CurrencyMetaInfo.java | 89 public final String currency; field in CurrencyMetaInfo.CurrencyFilter 109 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument 111 this.currency = currency; in CurrencyFilter() 154 public static CurrencyFilter onCurrency(String currency) { in onCurrency() argument 155 return ALL.withCurrency(currency); in onCurrency() 218 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion() 228 public CurrencyFilter withCurrency(String currency) { in withCurrency() argument 229 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency() 239 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate() 252 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CurrencyMetaInfo.java | 92 public final String currency; field in CurrencyMetaInfo.CurrencyFilter 114 … private CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) { in CurrencyFilter() argument 116 this.currency = currency; in CurrencyFilter() 163 public static CurrencyFilter onCurrency(String currency) { in onCurrency() argument 164 return ALL.withCurrency(currency); in onCurrency() 233 return new CurrencyFilter(region, this.currency, this.from, this.to, this.tenderOnly); in withRegion() 244 public CurrencyFilter withCurrency(String currency) { in withCurrency() argument 245 return new CurrencyFilter(this.region, currency, this.from, this.to, this.tenderOnly); in withCurrency() 256 …return new CurrencyFilter(this.region, this.currency, date.getTime(), date.getTime(), this.tenderO… in withDate() 270 … return new CurrencyFilter(this.region, this.currency, fromLong, toLong, this.tenderOnly); in withDateRange() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | CustomSymbolCurrency.java | 16 … public static Currency resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols) { in resolve() argument 17 if (currency == null) { in resolve() 18 currency = symbols.getCurrency(); in resolve() 20 if (currency == null) { in resolve() 23 if (!currency.equals(symbols.getCurrency())) { in resolve() 24 return currency; in resolve() 28 String currency1 = currency.getName(symbols.getULocale(), Currency.SYMBOL_NAME, null); in resolve() 29 String currency2 = currency.getCurrencyCode(); in resolve() 33 return currency; in resolve()
|
D | MutablePatternModifier.java | 47 Currency currency; field in MutablePatternModifier 107 Currency currency, in setSymbols() argument 112 this.currency = currency; in setSymbols() 393 return currency.getCurrencyCode(); in getSymbol() 399 return currency.getName(symbols.getULocale(), selector, null); in getSymbol() 402 return currency.getCurrencyCode(); in getSymbol() 408 return currency in getSymbol() 413 return currency.getName(symbols.getULocale(), Currency.NARROW_SYMBOL_NAME, null); in getSymbol()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | CustomSymbolCurrency.java | 20 … public static Currency resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols) { in resolve() argument 21 if (currency == null) { in resolve() 22 currency = symbols.getCurrency(); in resolve() 24 if (currency == null) { in resolve() 27 if (!currency.equals(symbols.getCurrency())) { in resolve() 28 return currency; in resolve() 32 String currency1 = currency.getName(symbols.getULocale(), Currency.SYMBOL_NAME, null); in resolve() 33 String currency2 = currency.getCurrencyCode(); in resolve() 37 return currency; in resolve()
|
D | MutablePatternModifier.java | 49 Currency currency; field in MutablePatternModifier 109 Currency currency, in setSymbols() argument 114 this.currency = currency; in setSymbols() 398 return currency.getCurrencyCode(); in getSymbol() 404 return currency.getName(symbols.getULocale(), selector, null); in getSymbol() 407 return currency.getCurrencyCode(); in getSymbol() 413 return currency in getSymbol() 418 return currency.getName(symbols.getULocale(), Currency.NARROW_SYMBOL_NAME, null); in getSymbol()
|
/external/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4() argument 110 if(currency==NULL || strlen(currency)!=3) { in setNumberFormatCurrency_2_4() 131 const char *currency; in setNumberFormatCurrency_2_4() member 159 if(strcmp(currency, currencyMap[i].currency)==0) { in setNumberFormatCurrency_2_4() 194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6() argument 198 if(currency==NULL || strlen(currency)!=3) { in setNumberFormatCurrency_2_6() 205 u_charsToUChars(currency, uCurrency, 4); in setNumberFormatCurrency_2_6()
|
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 83 if (filter.currency != null) { in collect() 126 String currency = null; in collectRegion() local 133 currency = currBundle.getString(); in collectRegion() 134 if (filter.currency != null && !filter.currency.equals(currency)) { in collectRegion() 162 collector.collect(region, currency, from, to, i, tender); in collectRegion() 203 …public void collect(String region, String currency, long from, long to, int priority, boolean tend… in collect() argument 204 result.add(new CurrencyInfo(region, currency, from, to, priority, tender)); in collect() 223 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 243 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 244 result.add(currency); in collect() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | ICUCurrencyMetaInfo.java | 85 if (filter.currency != null) { in collect() 128 String currency = null; in collectRegion() local 135 currency = currBundle.getString(); in collectRegion() 136 if (filter.currency != null && !filter.currency.equals(currency)) { in collectRegion() 164 collector.collect(region, currency, from, to, i, tender); in collectRegion() 205 …public void collect(String region, String currency, long from, long to, int priority, boolean tend… in collect() argument 206 result.add(new CurrencyInfo(region, currency, from, to, priority, tender)); in collect() 225 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 245 String region, String currency, long from, long to, int priority, boolean tender) { in collect() argument 246 result.add(currency); in collect() [all …]
|
/external/icu/icu4c/source/common/unicode/ |
D | ucurr.h | 176 ucurr_getName(const UChar* currency, 200 ucurr_getPluralName(const UChar* currency, 218 ucurr_getDefaultFractionDigits(const UChar* currency, 232 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency, 247 ucurr_getRoundingIncrement(const UChar* currency, 261 ucurr_getRoundingIncrementForUsage(const UChar* currency, 430 ucurr_getNumericCode(const UChar* currency);
|
/external/icu/libandroidicu/include/unicode/ |
D | ucurr.h | 176 ucurr_getName(const UChar* currency, 200 ucurr_getPluralName(const UChar* currency, 218 ucurr_getDefaultFractionDigits(const UChar* currency, 232 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency, 247 ucurr_getRoundingIncrement(const UChar* currency, 261 ucurr_getRoundingIncrementForUsage(const UChar* currency, 430 ucurr_getNumericCode(const UChar* currency);
|
/external/icu/icu4c/source/test/cintltst/ |
D | ccurrtst.c | 43 static const UChar currency[][2] = in currTest() local 79 static const UChar currency[][2] = in currTest() 120 for (i = 0; i < UPRV_LENGTHOF(currency); i += 1) in currTest() 122 for (j = 0; j < UPRV_LENGTHOF(currency); j += 1) in currTest() 124 u_strcpy(source, currency[i]); in currTest() 125 u_strcpy(target, currency[j]); in currTest()
|
/external/icu/icu4c/source/i18n/ |
D | winnmfmt.cpp | 47 CURRENCYFMTW currency; member 206 Win32NumberFormat::Win32NumberFormat(const Locale &locale, UBool currency, UErrorCode &status) in Win32NumberFormat() argument 207 …: NumberFormat(), fCurrency(currency), fFormatInfo(NULL), fFractionDigitsSet(FALSE), fWindowsLocal… in Win32NumberFormat() 239 getCurrencyFormat(&fFormatInfo->currency, localeName); in Win32NumberFormat() 259 freeCurrencyFormat(&fFormatInfo->currency); in ~Win32NumberFormat() 287 freeCurrencyFormat(&fFormatInfo->currency); in operator =() 288 getCurrencyFormat(&fFormatInfo->currency, localeName); in operator =() 401 formatInfo.currency.NumDigits = (UINT) numDigits; in format() 405 formatInfo.currency.Grouping = 0; in format() 408 …result = GetCurrencyFormatEx(localeName, 0, nBuffer, &formatInfo.currency, buffer, STACK_BUFFER_SI… in format() [all …]
|
D | number_currencysymbols.cpp | 20 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, UErrorCode& status) in CurrencySymbols() argument 21 : fCurrency(currency), fLocaleName(locale.getName(), status) { in CurrencySymbols() 26 CurrencySymbols::CurrencySymbols(CurrencyUnit currency, const Locale& locale, in CurrencySymbols() argument 28 : CurrencySymbols(currency, locale, status) { in CurrencySymbols() 107 if (!properties.currency.isNull()) { in resolveCurrency() 108 return properties.currency.getNoError(); in resolveCurrency()
|
/external/icu/icu4c/source/test/intltest/ |
D | currcoll.cpp | 47 static const UChar currency[][2] = in currencyTest() local 95 for (i = 0; i < UPRV_LENGTHOF(currency); i += 1) in currencyTest() 97 for (j = 0; j < UPRV_LENGTHOF(currency); j += 1) in currencyTest() 99 UnicodeString source(currency[i], 1); in currencyTest() 100 UnicodeString target(currency[j], 1); in currencyTest()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | DecimalFormatSymbols.java | 404 public void setCurrencySymbol(String currency) { in setCurrencySymbol() argument 405 dfs.setCurrencySymbol(currency); in setCurrencySymbol() 435 public void setCurrency(Currency currency) { in setCurrency() argument 436 dfs.setCurrency(java.util.Currency.getInstance(currency.getCurrencyCode())); in setCurrency() 453 public void setInternationalCurrencySymbol(String currency) { in setInternationalCurrencySymbol() argument 454 dfs.setInternationalCurrencySymbol(currency); in setInternationalCurrencySymbol()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 44 …public static CombinedCurrencyMatcher getInstance(Currency currency, DecimalFormatSymbols dfs, int… in getInstance() argument 46 return new CombinedCurrencyMatcher(currency, dfs, parseFlags); in getInstance() 49 private CombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in CombinedCurrencyMatcher() argument 50 this.isoCode = currency.getSubtype(); in CombinedCurrencyMatcher() 51 this.currency1 = currency.getSymbol(dfs.getULocale()); in CombinedCurrencyMatcher() 52 this.currency2 = currency.getCurrencyCode(); in CombinedCurrencyMatcher() 72 localLongNames[i] = currency in CombinedCurrencyMatcher()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/ |
D | CombinedCurrencyMatcher.java | 42 …public static CombinedCurrencyMatcher getInstance(Currency currency, DecimalFormatSymbols dfs, int… in getInstance() argument 44 return new CombinedCurrencyMatcher(currency, dfs, parseFlags); in getInstance() 47 private CombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags) { in CombinedCurrencyMatcher() argument 48 this.isoCode = currency.getSubtype(); in CombinedCurrencyMatcher() 49 this.currency1 = currency.getSymbol(dfs.getULocale()); in CombinedCurrencyMatcher() 50 this.currency2 = currency.getCurrencyCode(); in CombinedCurrencyMatcher() 70 localLongNames[i] = currency in CombinedCurrencyMatcher()
|