Lines Matching defs:currency
80 CASE(17,TestComplexCurrency); // This test removed because CLDR no longer uses choice formats in currency symbols.
616 * Test the handling of the currency symbol in patterns.
624 UChar currency = 0x00A4;
631 pat.append(currency).append("#,##0.00;-").
632 append(currency).append("#,##0.00");
646 pat.append(currency).append(currency).
648 append(currency).append(currency).
701 {"en_US@currency=JPY", "\\u00A51,150"},
702 {"en_US@currency=jpy", "\\u00A51,150"},
706 * Test localized currency patterns.
753 errln("Could not create currency formatter for locale %s",localeID);
772 * Test the Currency object handling, new as of ICU 2.2.
1690 // Make sure currency formats do not have a variable number
1704 // Make sure EURO currency formats have exactly 2 fraction digits
1733 errcheckln(status, "Unable to get currency for locale, error %s", u_errorName(status));
2112 * the 'delim' character separating the number and the currency.
2599 const char* localeID = "pt_PT@currency=PTE";
2606 dataerrln("Could not create currency formatter for locale %s - %s", localeID, u_errorName(status));
2905 // {"124 $", 5, -1, FALSE}, // TODO: OK or not, need currency spacing rule
2913 //{"124$", 4, -1, TRUE}, // TODO: need to handle trailing currency correctly
2915 //{"124 $", 5, -1, TRUE}, // TODO: OK or not, need currency spacing rule
3038 // currency pattern (with negative pattern),
3039 // currency number to be formatted,
3040 // currency format using currency symbol name, such as "$" for USD,
3041 // currency format using currency ISO name, such as "USD",
3042 // currency format using plural name, such as "US dollars".
3069 // j represents the number of currency sign in the pattern.
3084 // DATA[i][3] is the currency format result using a
3085 // single currency sign.
3086 // DATA[i][4] is the currency format result using
3087 // double currency sign.
3088 // DATA[i][5] is the currency format result using
3089 // triple currency sign.
3090 // DATA[i][j+2] is the currency format result using
3091 // 'j' number of currency sign.
3098 // DATA[i][3] is the currency format result using a
3099 // single currency sign.
3100 // DATA[i][4] is the currency format result using
3101 // double currency sign.
3102 // DATA[i][5] is the currency format result using
3103 // triple currency sign.
3157 errln((UnicodeString)"wong currency, expect: USD" + ", got: " + curramt->getISOCurrency());
3175 UChar currency = 0x00A4;
3177 pat.append(currency).append(currency).append(currency).append("#,##0.00;-").append(currency).append(currency).append(currency).append("#,##0.00");
3217 // currency amount to be formatted,
3218 // currency ISO code to be formatted,
3235 // test locale without currency information
3265 errln((UnicodeString)"can not set currency:" + currencyISOCode);
3272 // DATA[i][resultDataIndex] is the currency format result
3273 // using 'k' currency style.
3278 // test parsing, and test parsing for all currency formats.
3280 // DATA[i][3] is the currency format result using
3282 // DATA[i][4] is the currency format result using
3284 // DATA[i][5] is the currency format result using
3314 // currency amount to be formatted,
3315 // currency ISO code to be formatted,
3364 errln((UnicodeString)"can not set currency:" + currencyISOCode);
3372 // DATA[i][resultDataIndex] is the currency format result
3373 // using 'k' currency style.
3379 // test parsing, and test parsing for all currency formats.
3381 // DATA[i][3] is the currency format result using
3383 // DATA[i][4] is the currency format result using
3385 // DATA[i][5] is the currency format result using
3794 "European Currency Unit1.00",
3800 "European currency unit1.00",
3801 "European currency units1.00",
4451 "Testing Currency Code1.00",
4452 "Testing Currency Code1.00",
4892 "1.00 European Currency Unit random",
4898 "1.00 European currency unit random",
4899 "1.00 European currency units random",
5324 "1.00 Testing Currency Code random",
5325 "1.00 Testing Currency Code random",
5367 "1.00 Unknown Currency random",
5433 "1.00 unknown currency random",
5437 // Following are missing one last char in the currency name
5607 "European Currency Uni1.00",
5885 "Testing Currency Cod1.00",
6187 case NumberFormat::kCurrencyField: return "currency";
6363 // Reset the same currency and format the test value again