Home | History | Annotate | Download | only in intltest

Lines Matching refs:DecimalFormatSymbols

310  * DecimalFormatSymbols should be cloned in the ctor DecimalFormat.
311 * DecimalFormat(String, DecimalFormatSymbols).
316 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(status);
317 failure(status, "new DecimalFormatSymbols", "");
330 symbols->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, UnicodeString((UChar)0x70)); // change value of field
455 DecimalFormatSymbols *dfs = new DecimalFormatSymbols(status);
456 failure(status, "new DecimalFormatSymbols", Locale::getUS());
853 const DecimalFormatSymbols *sym = df->getDecimalFormatSymbols();
854 UnicodeString decSep = sym->getSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol);
855 UnicodeString monSep = sym->getSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol);
1343 DecimalFormatSymbols *fmt = new DecimalFormatSymbols(status);
1344 failure(status, "new DecimalFormatSymbols");
1345 UnicodeString currency(fmt->getSymbol(DecimalFormatSymbols::kCurrencySymbol));
1346 UnicodeString intlCurrency(fmt->getSymbol(DecimalFormatSymbols::kIntlCurrencySymbol));
1347 UnicodeString monDecSeparator(fmt->getSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol));
1357 fmt->setSymbol(DecimalFormatSymbols::kCurrencySymbol, UnicodeString("XYZ"));
1358 fmt->setSymbol(DecimalFormatSymbols::kIntlCurrencySymbol, UnicodeString("ABC"));
1359 fmt->setSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol, UnicodeString((UChar)0x002A/*'*'*/));
1360 currency = fmt->getSymbol(DecimalFormatSymbols::kCurrencySymbol);
1361 intlCurrency = fmt->getSymbol(DecimalFormatSymbols::kIntlCurrencySymbol);
1362 monDecSeparator = fmt->getSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol);
1403 DecimalFormatSymbols *syms = new DecimalFormatSymbols(Locale::getUS(), status);
1404 failure(status, "new DecimalFormatSymbols");
1674 DecimalFormatSymbols *symbols = new DecimalFormatSymbols(locales[i], status);
1675 failure(status, "new DecimalFormatSymbols");
1691 if (symbols->getSymbol(DecimalFormatSymbols::kCurrencySymbol).indexOf(bar) == -1) {
1694 symbols->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol,
1695 symbols->getSymbol(DecimalFormatSymbols::kMonetarySeparatorSymbol));
1702 buf.replace(j, /*j+*/2, symbols->getSymbol(DecimalFormatSymbols::kIntlCurrencySymbol));
1703 j += symbols->getSymbol(DecimalFormatSymbols::kIntlCurrencySymbol).length();
1706 buf.replace(j, /*j+*/1, symbols->getSymbol(DecimalFormatSymbols::kCurrencySymbol));
1707 j += symbols->getSymbol(DecimalFormatSymbols::kCurrencySymbol).length() - 1;
1871 DecimalFormatSymbols *syms = new DecimalFormatSymbols(Locale::getEnglish(), status);
1872 failure(status, "new DecimalFormatSymbols");
1925 DecimalFormatSymbols *sym = (DecimalFormatSymbols*) nf->getDecimalFormatSymbols();
1926 sym->setSymbol(DecimalFormatSymbols::kDecimalSeparatorSymbol, (UChar)/*'\''*/0x0027);
2021 DecimalFormatSymbols *syms = new DecimalFormatSymbols(Locale::getEnglish(), status);
2022 if (!failure(status, "new DecimalFormatSymbols")) {
2263 DecimalFormatSymbols sym(Locale::getUS(), status);
2264 failure(status, "Construct DecimalFormatSymbols");
2288 * Some DecimalFormatSymbols changes are not picked up by DecimalFormat.
2295 DecimalFormatSymbols sym(Locale::getUS(), status);
2297 failure(status, "DecimalFormatSymbols ct", Locale::getUS());
2306 sym.setSymbol(DecimalFormatSymbols::kMinusSignSymbol, (UChar)0x5e);
2318 sym.setSymbol(DecimalFormatSymbols::kMinusSignSymbol, (UChar)0x2d);
2322 sym.setSymbol(DecimalFormatSymbols::kPercentSymbol, (UChar)0x5e);
2334 sym.setSymbol(DecimalFormatSymbols::kPercentSymbol, (UChar)0x25);
2338 sym.setSymbol(DecimalFormatSymbols::kPerMillSymbol, (UChar)0x5e);
2350 sym.setSymbol(DecimalFormatSymbols::kPerMillSymbol, (UChar)0x2030);
2354 sym.setSymbol(DecimalFormatSymbols::kCurrencySymbol, "usd");
2366 sym.setSymbol(DecimalFormatSymbols::kCurrencySymbol, "$");
2370 sym.setSymbol(DecimalFormatSymbols::kIntlCurrencySymbol, "DOL");
2382 sym.setSymbol(DecimalFormatSymbols::kIntlCurrencySymbol, "USD");
2419 DecimalFormatSymbols symb(avail[i], status);
2420 failure(status, "Construct DecimalFormatSymbols", avail[i]);
2566 DecimalFormatSymbols sym(Locale::getUS(), status);
2567 failure(status, "DecimalFormatSymbols ct", Locale::getUS());
2597 DecimalFormatSymbols sym(Locale::getUS(), status);
2598 failure(status, "DecimalFormatSymbols ct", Locale::getUS());