Home
last modified time | relevance | path

Searched refs:currency (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/external/cldr/tools/java/org/unicode/cldr/util/data/
DISO4217.txt1 #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/
DidList.txt1219 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/
DCurrency.java42 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/
DCheckEnglishCurrencyNames.java50 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/
DCurrencyAmount.java33 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/
DCurrencyAmount.java32 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/
DCurrencyNameTest.java49 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/icu4j/main/classes/core/src/com/ibm/icu/text/
DCurrencyMetaInfo.java92 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 …]
DDecimalFormatSymbols.java838 public void setCurrencySymbol(String currency) { in setCurrencySymbol() argument
839 currencySymbol = currency; in setCurrencySymbol()
856 public void setInternationalCurrencySymbol(String currency) { in setInternationalCurrencySymbol() argument
857 intlCurrencySymbol = currency; in setInternationalCurrencySymbol()
867 return currency; in getCurrency()
887 public void setCurrency(Currency currency) { in setCurrency() argument
888 if (currency == null) { in setCurrency()
891 if (currency.equals(this.currency)) { in setCurrency()
895 setCurrencyOrNull(currency, displayInfo); in setCurrency()
898 private void setCurrencyOrNull(Currency currency, CurrencyDisplayInfo displayInfo) { in setCurrencyOrNull() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCurrencyMetaInfo.java89 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 …]
DDecimalFormatSymbols.java776 public void setCurrencySymbol(String currency) { in setCurrencySymbol() argument
777 currencySymbol = currency; in setCurrencySymbol()
792 public void setInternationalCurrencySymbol(String currency) { in setInternationalCurrencySymbol() argument
793 intlCurrencySymbol = currency; in setInternationalCurrencySymbol()
802 return currency; in getCurrency()
820 public void setCurrency(Currency currency) { in setCurrency() argument
821 if (currency == null) { in setCurrency()
824 if (currency.equals(this.currency)) { in setCurrency()
828 setCurrencyOrNull(currency, displayInfo); in setCurrency()
831 private void setCurrencyOrNull(Currency currency, CurrencyDisplayInfo displayInfo) { in setCurrencyOrNull() argument
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DCustomSymbolCurrency.java20 … 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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DCustomSymbolCurrency.java16 … 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()
/external/icu/icu4c/source/samples/numfmt/
Dmain.cpp105 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/
DICUCurrencyMetaInfo.java83 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/
DICUCurrencyMetaInfo.java85 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/
Ducurr.h173 ucurr_getName(const UChar* currency,
198 ucurr_getPluralName(const UChar* currency,
223 ucurr_getDefaultFractionDigits(const UChar* currency,
244 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency,
259 ucurr_getRoundingIncrement(const UChar* currency,
273 ucurr_getRoundingIncrementForUsage(const UChar* currency,
442 ucurr_getNumericCode(const UChar* currency);
/external/icu/libandroidicu/include/unicode/
Ducurr.h173 ucurr_getName(const UChar* currency,
198 ucurr_getPluralName(const UChar* currency,
223 ucurr_getDefaultFractionDigits(const UChar* currency,
244 ucurr_getDefaultFractionDigitsForUsage(const UChar* currency,
259 ucurr_getRoundingIncrement(const UChar* currency,
273 ucurr_getRoundingIncrementForUsage(const UChar* currency,
442 ucurr_getNumericCode(const UChar* currency);
/external/icu/icu4c/source/test/cintltst/
Dccurrtst.c43 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/
Dwinnmfmt.cpp47 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 …]
Dnumber_currencysymbols.cpp20 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()
105 if (!properties.currency.isNull()) { in resolveCurrency()
106 return properties.currency.getNoError(); in resolveCurrency()
/external/icu/icu4c/source/test/intltest/
Dcurrcoll.cpp47 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/
DDecimalFormatSymbols.java404 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/icu4j/main/classes/currdata/
Dmanifest.stub2 Specification-Title: International Components for Unicode for Java (currency data)
5 Implementation-Title: International Components for Unicode for Java (currency data)
10 Bundle-Name: ICU4J currency data
11 Bundle-Description: International Components for Unicode for Java (currency data)
/external/cldr/tools/java/org/unicode/cldr/posix/
DPOSIXVariant.java13 public String currency; field in POSIXVariant
24 this.currency = "default"; in POSIXVariant()
49 this.currency = field_value; in POSIXVariant()
62 this.currency = "default"; in POSIXVariant()

12345678910>>...15