Home | History | Annotate | Download | only in intltest

Lines Matching refs:currency

835  * interpreted as monetary separator if currency symbol is seen!
933 logln ("Bug 4070798 currency test passed.");
1005 logln ("Bug 4071005 currency test assed.");
1074 logln ("Bug 4071014 currency test assed.");
1139 logln ("Bug 4071859 currency test assed.");
1345 UnicodeString currency(fmt->getSymbol(DecimalFormatSymbols::kCurrencySymbol));
1348 if (currency == UnicodeString("") ||
1356 logln((UnicodeString)"Before set ==> Currency : " + currency +(UnicodeString)" Intl Currency : " + intlCurrency + (UnicodeString)" Monetary Decimal Separator : " + monDecSeparatorStr);
1360 currency = fmt->getSymbol(DecimalFormatSymbols::kCurrencySymbol);
1363 if (currency != UnicodeString("XYZ") ||
1370 logln("After set ==> Currency : " + currency + " Intl Currency : " + intlCurrency + " Monetary Decimal Separator : " + monDecSeparatorStr);
1630 * Locale data should use generic currency symbol
1632 * 1) Make sure that all currency formats use the generic currency symbol.
1656 // Get the currency pattern for this locale. We have to fish it
1668 errln(UnicodeString("Currency format for ") + UnicodeString(locales[i].getName()) +
1669 " does not contain generic currency symbol:" +
1684 // Now substitute in the locale's currency symbol and create another
1685 // pattern. We have to skip locales where the currency symbol
1693 // separator to mimic the behavior of a currency format
1701 // {sfb} added to support double currency marker (intl currency sign)
1715 // Get the currency (if there is one) so we can set the rounding and fraction
1716 const UChar *currency = fmt1->getCurrency();
1717 if (*currency != 0) {
1718 double rounding = ucurr_getRoundingIncrement(currency, &status);
1719 int32_t frac = ucurr_getDefaultFractionDigits(currency, &status);
1726 failure(status, "Fetching currency rounding/fractions");
2289 * This includes the minus sign, currency symbol, international currency
2353 failure(status, "applyPattern currency");
2358 errln(UnicodeString("FAIL: 12.5 x (currency=usd) -> ") + s +
2363 errln(UnicodeString("FAIL: (currency=usd).getPositivePrefix -> ") +
2369 failure(status, "applyPattern intl currency");
2447 // Make sure we set the currency attributes appropriately
2448 if (j == 1) { // Currency format