Home | History | Annotate | Download | only in intltest

Lines Matching refs:USD

472 static const UChar ISO_CURRENCY_USD[] = {0x55, 0x53, 0x44, 0}; // "USD"
1122 if (s != "USD 1,234.56") dataerrln((UnicodeString)"FAIL: Expected USD 1,234.56");
1126 if (s != "USD -1,234.56") dataerrln((UnicodeString)"FAIL: Expected USD -1,234.56");
2195 UChar USD[4];
2196 ucurr_forLocale("en_US", USD, 4, &status);
2230 if (u_strcmp(USD, TMP) != 0) {
2231 errln("FAIL: didn't return USD for en_US after unregister of en_US");
2241 if (u_strcmp(USD, TMP) != 0) {
2242 errln("FAIL: could not find USD for en_US_BLAH after unregister of en");
2260 // USD { "US$", "US Dollar" } // 04/04/1792-
2262 static const UChar USD[] = {0x55, 0x53, 0x44, 0}; /*USD*/
2271 assertEquals("USD.getName(SYMBOL_NAME)",
2273 UnicodeString(ucurr_getName(USD, "en",
2277 assertEquals("USD.getName(LONG_NAME)",
2279 UnicodeString(ucurr_getName(USD, "en",
2295 assertEquals("USD.getName(SYMBOL_NAME) in en_NZ",
2297 UnicodeString(ucurr_getName(USD, "en_NZ",
2349 static const UChar USD[] = {85, 83, 68, 0}; /*USD*/
2352 CurrencyUnit cu(USD, ec);
2356 assertEquals("getISOCurrency()", USD, r);
2389 static const UChar USD[] = {85, 83, 68, 0}; /*USD*/
2390 CurrencyAmount ca(9, USD, ec);
3653 // currency format using currency symbol name, such as "$" for USD,
3654 // currency format using currency ISO name, such as "USD",
3770 errln((UnicodeString)"wong currency, expect: USD" + ", got: " + curramt->getISOCurrency());
3836 {"en_US", "1", "USD", "$1.00", "USD1.00", "1.00 US dollars"},
3837 {"en_US", "1234.56", "USD", "$1,234.56", "USD1,234.56", "1,234.56 US dollars"},
3838 {"en_US", "-1234.56", "USD", "-$1,234.56", "-USD1,234.56", "-1,234.56 US dollars"},
3839 {"zh_CN", "1", "USD", "US$1.00", "USD1.00", "1.00\\u7F8E\\u5143"},
3840 {"zh_CN", "1234.56", "USD", "US$1,234.56", "USD1,234.56", "1,234.56\\u7F8E\\u5143"},
3847 {"root", "-1.23", "USD", "-US$\\u00A01.23", "-USD\\u00A01.23", "-1.23 USD"},
3930 {"en_US", "1", "USD
3931 {"pa_IN", "1", "USD", "US$\\u00A01.00", "USD\\u00A01.00", "1.00 \\u0a2f\\u0a42.\\u0a10\\u0a38. \\u0a21\\u0a3e\\u0a32\\u0a30"},
3932 {"es_AR", "1", "USD", "US$\\u00A01,00", "USD\\u00A01,00", "1,00 d\\u00f3lar estadounidense"},
3933 {"ar_EG", "1", "USD", "US$\\u00a0\\u0661\\u066b\\u0660\\u0660", "USD\\u00a0\\u0661\\u066b\\u0660\\u0660", "\\u0661\\u066b\\u0660\\u0660 \\u062f\\u0648\\u0644\\u0627\\u0631 \\u0623\\u0645\\u0631\\u064a\\u0643\\u064a"},
3934 {"fa_CA", "1", "USD", "\\u200e$\\u06f1\\u066b\\u06f0\\u06f0", "\\u200eUSD\\u06f1\\u066b\\u06f0\\u06f0", "\\u200e\\u062f\\u0644\\u0627\\u0631 \\u0627\\u0645\\u0631\\u06cc\\u06a9\\u0627\\u06f1\\u066b\\u06f0\\u06f0"},
3935 {"he_IL", "1", "USD", "1.00\\u00a0$", "1.00\\u00a0USD", "1.00 \\u05d3\\u05d5\\u05dc\\u05e8 \\u05d0\\u05de\\u05e8\\u05d9\\u05e7\\u05d0\\u05d9"},
3936 {"hr_HR", "1", "USD", "1,00\\u00a0USD", "1,00\\u00a0USD", "1,00 Ameri\\u010dki dolar"},
3937 {"id_ID", "1", "USD", "US$1,00", "USD1,00", "1,00 Dolar Amerika Serikat"},
3938 {"it_IT", "1", "USD", "1,00\\u00a0US$", "1,00\\u00a0USD", "1,00 Dollaro Statunitense"},
3939 {"ko_KR", "1", "USD", "US$1.00", "USD1.00", "1.00 \\ubbf8\\uad6d \\ub2ec\\ub7ec"},
3940 {"ja_JP", "1", "USD", "$1.00", "USD1.00", "1.00\\u7c73\\u30c9\\u30eb"},
8333 assertEquals("", " %USD", fmt.getPositiveSuffix(affixStr));
8335 assertEquals("", " %USD", fmt.getNegativeSuffix(affixStr));
8568 const UChar USD[] = {0x55, 0x53, 0x44, 0x0};
8576 dfmt->setCurrency(USD);
8588 const UChar USD[] = {0x55, 0x53, 0x44, 0x0};
8600 dfmt->setCurrency(USD);
8686 assertEquals("", " %USD", fmt.getPositiveSuffix(affixStr));
8688 assertEquals("", " %USD", fmt.getNegativeSuffix(affixStr));
8699 static UChar USD[] = {0x55, 0x53, 0x44, 0x0};
8700 fmt.setCurrency(USD);
8711 fmt2.setCurrency(USD);