Home | History | Annotate | Download | only in intltest

Lines Matching defs:currency

832  * interpreted as monetary separator if currency symbol is seen!
930 logln ("Bug 4070798 currency test passed.");
1002 logln ("Bug 4071005 currency test assed.");
1071 logln ("Bug 4071014 currency test assed.");
1136 logln ("Bug 4071859 currency test assed.");
1342 UnicodeString currency(fmt->getSymbol(DecimalFormatSymbols::kCurrencySymbol));
1345 if (currency == UnicodeString("") ||
1353 logln((UnicodeString)"Before set ==> Currency : " + currency +(UnicodeString)" Intl Currency : " + intlCurrency + (UnicodeString)" Monetary Decimal Separator : " + monDecSeparatorStr);
1357 currency = fmt->getSymbol(DecimalFormatSymbols::kCurrencySymbol);
1360 if (currency != UnicodeString("XYZ") ||
1367 logln("After set ==> Currency : " + currency + " Intl Currency : " + intlCurrency + " Monetary Decimal Separator : " + monDecSeparatorStr);
1627 * Locale data should use generic currency symbol
1629 * 1) Make sure that all currency formats use the generic currency symbol.
1647 // Get the currency pattern for this locale. We have to fish it
1659 errln(UnicodeString("Currency format for ") + UnicodeString(locales[i].getName()) +
1660 " does not contain generic currency symbol:" +
1675 // Now substitute in the locale's currency symbol and create another
1676 // pattern. We have to skip locales where the currency symbol
1684 // separator to mimic the behavior of a currency format
1692 // {sfb} added to support double currency marker (intl currency sign)
1706 // Get the currency (if there is one) so we can set the rounding and fraction
1707 const UChar *currency = fmt1->getCurrency();
1708 if (*currency != 0) {
1709 double rounding = ucurr_getRoundingIncrement(currency, &status);
1710 int32_t frac = ucurr_getDefaultFractionDigits(currency, &status);
1717 failure(status, "Fetching currency rounding/fractions");
2279 * This includes the minus sign, currency symbol, international currency
2343 failure(status, "applyPattern currency");
2348 errln(UnicodeString("FAIL: 12.5 x (currency=usd) -> ") + s +
2353 errln(UnicodeString("FAIL: (currency=usd).getPositivePrefix -> ") +
2359 failure(status, "applyPattern intl currency");
2432 // Make sure we set the currency attributes appropriately
2433 if (j == 1) { // Currency format