Searched refs:currency (Results 1 - 25 of 50) sorted by last modified time

12

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/oned/ ...
/external/v8/test/intl/number-format/
H A Dparse-currency.js31 var nf = new Intl.NumberFormat(['en'], {style: 'currency', currency: 'USD'});
H A Dproperty-override.js46 // they were not requested - currency, currencyDisplay,
49 undefined, {style: 'currency', currency: 'USD', currencyDisplay: 'name',
60 'currency', 'currencyDisplay', 'useGrouping',
75 {currency: 'USD', currencyDisplay: 'name',
/external/v8/src/
H A Di18n.cc233 icu::UnicodeString currency; local
235 if (style == UNICODE_STRING_SIMPLE("currency")) {
237 ExtractStringSetting(isolate, options, "currency", &currency);
284 if (!currency.isEmpty()) {
285 number_format->setCurrency(currency.getBuffer(), status);
346 // Set resolved currency code in options.currency if not empty.
347 icu::UnicodeString currency(number_format->getCurrency());
348 if (!currency
[all...]
H A Di18n.js1033 * Verifies that the input is a well-formed ISO 4217 currency code.
1037 function isWellFormedCurrencyCode(currency) {
1038 return typeof currency == "string" &&
1039 currency.length == 3 &&
1040 currency.match(/[^A-Za-z]/) == null;
1081 'style', 'string', ['decimal', 'percent', 'currency'], 'decimal'));
1083 var currency = getOption('currency', 'string');
1084 if (currency !== undefined && !isWellFormedCurrencyCode(currency)) {
[all...]
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DDecimalFormat.java44 * numbers ("123.4"), scientific notation ("1.23E4"), percentages ("12%"), and currency
63 * Print out a number using the localized number, currency, and percent
98 * Print out a number using the localized number, currency, percent,
99 * scientific, integer, iso currency, and plural currency format for each locale.
144 * Two exceptions are the currency sign and quote, which are not localized.
220 * <td>Currency sign, replaced by currency symbol. If
221 * doubled, replaced by international currency symbol.
222 * If tripled, replaced by currency plural names, for example,
336 * <p>For currency parsin
1907 parse(String text, ParsePosition parsePosition, Currency[] currency) argument
2010 parseForCurrency(String text, ParsePosition parsePosition, Currency[] currency, boolean[] status) argument
2338 subparse( String text, ParsePosition parsePosition, DigitList digits, boolean status[], Currency currency[], String negPrefix, String negSuffix, String posPrefix, String posSuffix, boolean parseComplexCurrency, int type) argument
2789 compareAffix(String text, int pos, boolean isNegative, boolean isPrefix, String affixPat, boolean complexCurrencyParsing, int type, Currency[] currency) argument
2981 compareComplexAffix(String affixPat, String text, int pos, int type, Currency[] currency) argument
[all...]
H A DDecimalFormatSymbols.java433 * Returns the string denoting the local currency.
434 * @return the local currency String.
442 * Sets the string denoting the local currency.
443 * @param currency the local currency String.
446 public void setCurrencySymbol(String currency) { argument
447 currencySymbol = currency;
451 * Returns the international string denoting the local currency.
452 * @return the international string denoting the local currency
460 * Sets the international string denoting the local currency
464 setInternationalCurrencySymbol(String currency) argument
495 setCurrency(Currency currency) argument
1400 private transient Currency currency; field in class:DecimalFormatSymbols
[all...]
H A DMeasureFormat.java407 Currency currency = (Currency) unit;
408 int fracDigits = currency.getDefaultFractionDigits();
478 // we have a mismatch between the number style and the currency style, so remap
751 * Returns formatting data for all MeasureUnits except for currency ones.
H A DNumberFormat.java81 * currency number format. And use <code>getPercentInstance</code> to get a
94 * getInstance(...CURRENCYSTYLE) to get the currency number format,
95 * in which the currency is represented by its symbol, for example, "$3.00".
96 * getInstance(...ISOCURRENCYSTYLE) to get the currency number format,
97 * in which the currency is represented by its ISO code, for example "USD3.00".
98 * getInstance(...PLURALCURRENCYSTYLE) to get the currency number format,
99 * in which the currency is represented by its full name in plural format,
178 * {@icu} Constant to specify currency style of format which uses currency symbol
179 * to represent currency, fo
1737 private Currency currency; field in class:NumberFormat
[all...]
H A DCurrencyFormat.java65 CurrencyAmount currency = (CurrencyAmount) obj;
67 fmt.setCurrency(currency.getCurrency());
68 return fmt.format(currency.getNumber(), toAppendTo, pos);
H A DCurrencyMetaInfo.java20 * A note about currency dates. The CLDR data provides data to the day,
35 * Returns the unique instance of the currency meta info.
44 * Returns the unique instance of the currency meta info, or null if
55 * Returns true if there is data for the currency meta info.
75 * A filter used to select which currency info is returned.
86 * The currency to filter on. If null, accepts any currency.
89 public final String currency; field in class:CurrencyMetaInfo.CurrencyFilter
92 * The from date to filter on (as milliseconds). Accepts any currency on or after this date.
98 * The to date to filter on (as milliseconds). Accepts any currency o
111 CurrencyFilter(String region, String currency, long from, long to, boolean tenderOnly) argument
160 onCurrency(String currency) argument
241 withCurrency(String currency) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DCurrency.java36 * A class encapsulating a currency, as defined by ISO 4217. A
57 private static final boolean DEBUG = ICUDebug.enabled("currency");
59 // Cache to save currency name trie
65 * currency, such as "$" for USD.
72 * currency, such as "US Dollar" for USD.
79 * currency, such as "US dollar" for USD in "1 US dollar",
99 * a setting to specify currency usage which determines currency digit and rounding
107 * a setting to specify currency usage which determines currency digi
317 registerInstance(Currency currency, ULocale locale) argument
[all...]
H A DCurrencyAmount.java15 * An amount of currency, consisting of a Number and a Currency.
26 * Constructs a new object given a number and a currency.
28 * @param currency the currency
31 public CurrencyAmount(Number number, Currency currency) { argument
32 super(number, currency);
36 * Constructs a new object given a double value and a currency.
38 * @param currency the currency
41 public CurrencyAmount(double number, Currency currency) { argument
[all...]
H A DCurrencyServiceShim.java19 * currency. The shim is instantiated by reflection in Currency, all
49 Object registerInstance(Currency currency, ULocale locale) { argument
50 return service.registerObject(currency, locale);
/external/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
H A DICUCurrencyMetaInfo.java19 * ICU's currency meta info data.
81 if (filter.currency != null) {
124 String currency = null;
131 currency = currBundle.getString();
132 if (filter.currency != null && !filter.currency.equals(currency)) {
160 collector.collect(region, currency, from, to, i, tender);
200 public void collect(String region, String currency, long from, long to, int priority, boolean tender) { argument
201 result.add(new CurrencyInfo(region, currency, fro
216 collect( String region, String currency, long from, long to, int priority, boolean tender) argument
233 collect( String region, String currency, long from, long to, int priority, boolean tender) argument
269 collect(String region, String currency, long from, long to, int priority, boolean tender) argument
[all...]
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
H A DDecimalFormatICU.java249 public void setCurrency(Currency currency) { argument
250 if (currency == null) {
253 fIcuDecfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode()));
265 Currency currency = newSymbols.getCurrency();
266 if (currency == null) {
269 icuDecfs.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode()));
H A DDecimalFormatSymbolsICU.java130 public void setCurrency(Currency currency) { argument
132 if (currency != null) {
133 icuCurrency = com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode());
139 public void setCurrencySymbol(String currency) { argument
140 fIcuDecfs.setCurrencySymbol(currency);
H A DNumberFormatICU.java167 public void setCurrency(Currency currency) { argument
168 if (currency == null) {
171 fIcuNfmt.setCurrency(com.ibm.icu.util.Currency.getInstance(currency.getCurrencyCode()));
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationCurrencyTest.java28 // All the currency symbols, in collation order
29 char[][] currency = {
66 // Compare each currency symbol against all the
67 // currency symbols, including itself
71 for (i = 0; i < currency.length; i += 1) {
72 for (j = 0; j < currency.length; j += 1) {
73 source = new String(currency[i]);
74 target = new String(currency[j]);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DIntlTestDecimalFormatSymbols.java56 Currency currency = Currency.getInstance("USD");
57 fr.setCurrency(currency);
58 if (!fr.getCurrency().equals(currency)){
154 errln("ERROR: get currency spacing item:"+ i+" before the currency");
157 errln("ERROR: get currency spacing item:" + i + " after currency");
165 errln("ERROR: set currency spacing pattern for before currency.");
H A DNumberFormatTest.java360 * Test the handling of the currency symbol in patterns.
365 char currency = 0x00A4;
367 pat.append(currency).append("#,##0.00;-").append(currency).append("#,##0.00");
381 pat.append(currency).append(currency).append(" #,##0.00;").append(currency).append(currency).append(" -#,##0.00");
434 // currency pattern (with negative pattern),
435 // currency numbe
[all...]
H A DNumberRegression.java439 * interpreted as monetary separator if currency symbol is seen!
499 logln ("Bug 4070798 currency test assed.");
548 logln ("Bug 4071005 currency test passed.");
596 logln ("Bug 4071014 currency test passed.");
617 * Note- with the Euro, there is no need for currency rounding anymore
646 logln ("Bug 4071859 currency test passed.");
787 String currency = fmt.getCurrencySymbol();
790 if (currency.equals("") ||
795 logln("Before set ==> Currency : " + currency + " Intl Currency : " + intlCurrency + " Monetary Decimal Separator : " + monDecSeparator);
799 currency
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DCurrencyTest.java141 errln("did not find locale" + fu_FU + " in currency locales");
145 errln("unable to unregister currency using key1");
148 errln("unable to unregister currency using key2");
165 errln("found locale" + fu_FU + " in currency locales after unregister");
177 errln("found locale" + fu_FU + " in currency locales after unregister");
243 assertNotNull("have currency data for Germany", cdn);
245 // known currency, behavior unchanged
250 // known currency but unknown plural category
253 // unknown currency, get null
269 assertNotNull("have currency dat
[all...]
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
H A DCurrencyNameTest.java46 Currency currency = Currency.getInstance(l);
47 if (currency != null) {
48 currencies.add(currency);
60 for (Currency currency : AVAILABLE_CURRENCIES) {
61 String currencyCode = currency.getCurrencyCode();
69 String curSymbol = currency.getSymbol(loc);
75 logln("INFO: JDK has currency symbol " + curSymbol + " for locale " +
93 curSymbol = currency.getSymbol(locIcu);
109 for (Currency currency : AVAILABLE_CURRENCIES) {
110 String currencyCode = currency
[all...]

Completed in 389 milliseconds

12