Home | History | Annotate | Download | only in intltest

Lines Matching refs:Locale

77     Locale locale[] = {
78 Locale("ar", "", ""),
79 Locale("be", "", ""),
80 Locale("bg", "", ""),
81 Locale("ca", "", ""),
82 Locale("cs", "", ""),
83 Locale("da", "", ""),
84 Locale("de", "", ""),
85 Locale("de", "AT", ""),
86 Locale("de", "CH", ""),
87 Locale("el", "", ""), // 10
88 Locale("en", "CA", ""),
89 Locale("en", "GB", ""),
90 Locale("en", "IE", ""),
91 Locale("en", "US", ""),
92 Locale("es", "", ""),
93 Locale("et", "", ""),
94 Locale("fi", "", ""),
95 Locale("fr", "", ""),
96 Locale("fr", "BE", ""),
97 Locale("fr", "CA", ""), // 20
98 Locale("fr", "CH", ""),
99 Locale("he", "", ""),
100 Locale("hr", "", ""),
101 Locale("hu", "", ""),
102 Locale("is", "", ""),
103 Locale("it", "", ""),
104 Locale("it", "CH", ""),
105 Locale("ja", "", ""),
106 Locale("ko", "", ""),
107 Locale("lt", "", ""), // 30
108 Locale("lv", "", ""),
109 Locale("mk", "", ""),
110 Locale("nl", "", ""),
111 Locale("nl", "BE", ""),
112 Locale("no", "", ""),
113 Locale("pl", "", ""),
114 Locale("pt", "", ""),
115 Locale("ro", "", ""),
116 Locale("ru", "", ""),
117 Locale("sh", "", ""), // 40
118 Locale("sk", "", ""),
119 Locale("sl", "", ""),
120 Locale("sq", "", ""),
121 Locale("sr", "", ""),
122 Locale("sv", "", ""),
123 Locale("tr", "", ""),
124 Locale("uk", "", ""),
125 Locale("zh", "", ""),
126 Locale("zh", "TW", "") // 49
131 logln(locale[i].getDisplayName(buffer));
133 // form = (DecimalFormat*)NumberFormat::createCurrencyInstance(locale[i], success);
134 form = (DecimalFormat*)NumberFormat::createInstance(locale[i], success);
298 form = new MessageFormat(testCases[i], Locale::getUS(), success);
421 /* When the default locale is tr, make sure that the pattern can still be parsed. */
425 Locale saveDefaultLocale;
426 Locale::setDefault( Locale("tr"), err );
454 Locale::setDefault( saveDefaultLocale, err );
547 MessageFormat* mfNum = new MessageFormat(t1, Locale("fr"), err);
558 MessageFormat* mfAlpha = new MessageFormat(t2, Locale("fr"), err);
581 MessageFormat* mfNum2 = new MessageFormat(t3, Locale("ru"), err);
585 MessageFormat* mfAlpha2 = new MessageFormat(t4, Locale("ru"), err);
609 MessageFormat* msgFmt = new MessageFormat(t5, Locale("fr"), err);
633 Locale::getEnglish(),
668 UnicodeString pattern ,Locale locale ,UErrorCode &status , char* errMsg)
671 MessageFormat* msgFmt = new MessageFormat(pattern, locale, status);
690 MessageFormat* msgFmt1 = internalCreate(t1.unescape(), Locale("fr"),err,(char*)"From TestMessageFormat::TestSelectFormat create t1");
712 MessageFormat* msgFmt2 = internalCreate(t2.unescape(), Locale("fr"),err,(char*)"From TestMessageFormat::TestSelectFormat create t2");
734 MessageFormat* msgFmt3 = internalCreate(t3, Locale("en"),err,(char*)"From TestMessageFormat::TestSelectFormat create t3");
756 MessageFormat* msgFmt4 = internalCreate(t4.unescape(), Locale("fr"),err,(char*)"From TestMessageFormat::TestSelectFormat create t4");
779 MessageFormat* msgFmt5 = internalCreate(t5.unescape(), Locale("fr"),err,(char*)"From TestMessageFormat::TestSelectFormat create t5");
803 MessageFormat* msgFmt6 = internalCreate(t6, Locale("de"),err,(char*)"From TestMessageFormat::TestSelectFormat create t6");
957 y.setLocale(Locale("fr"));
985 // {sfb} to get $, would need Locale::US, not Locale::ENGLISH
991 // {sfb} to get DM, would need Locale::GERMANY, not Locale::GERMAN
1015 msg.setLocale(Locale::getEnglish());
1017 if (msg.getLocale() != Locale::getEnglish()) {
1022 msg.setLocale(Locale::getGerman());
1024 if (msg.getLocale() != Locale::getGerman()) {
1513 Locale locale("en", "US", "");
1536 NumberFormat* numFmt = NumberFormat::createInstance(locale, ec);
1543 MessageFormat* fmt = new MessageFormat(formats[i], locale, ec);
1633 MessageFormat compMsg("", Locale::getUS(), ec);
1639 MessageFormat icuMsg("", Locale::getUS(), ec);
1728 MessageFormat *msgfmt = new MessageFormat(testformat, Locale("fr"), status);
1799 MessageFormat msgfmt("Hello, {alice,number} {oops,date,full} {zip,spellout} World.", Locale::getRoot(), errorCode);
1845 MessageFormat m("a { 0 , number , '#,#'#.0 } z", Locale::getEnglish(), errorCode);
1870 Locale::getEnglish(), errorCode);