Lines Matching refs:oldLoc
61 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCalendar() local
67 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCalendar()
68 Calendar* c1 = Calendar::createInstance(oldLoc, status); in TestCalendar()
81 … c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestCalendar()
93 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestDateFormat() local
99 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestDateFormat()
101 DateFormat* df1 = DateFormat::createDateInstance(DateFormat::FULL, oldLoc); in TestDateFormat()
114 … c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestDateFormat()
127 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestCollation() local
133 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestCollation()
135 Collator* c1 = Collator::createInstance(oldLoc, status); in TestCollation()
148 … c1!=c2. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestCollation()
158 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestULocale() local
164 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestULocale()
167 oldLoc.getDisplayName(name1); in TestULocale()
170 …t equal. newLoc= "+UnicodeString(newLoc.getName()) +" oldLoc= "+UnicodeString(oldLoc.getName())); in TestULocale()
213 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestDisplayName() local
221 const UnicodeString oldCountry = oldLoc.getDisplayCountry(dipLocName); in TestDisplayName()
223 const UnicodeString oldLang = oldLoc.getDisplayLanguage(dipLocName); in TestDisplayName()
229 …errln("getCountry() failed for "+ UnicodeString(oldLoc.getName()) +" oldCountry= "+ prettify(oldCo… in TestDisplayName()
235 …errln("getLanguage() failed for " + UnicodeString(oldLoc.getName()) + " oldLang = "+ prettify(oldL… in TestDisplayName()
245 Locale oldLoc(_LOCALE_ALIAS[i][0]); in TestUResourceBundle() local
251 logln("\nold locale:%s new locale:%s",oldLoc.getName(),newLoc.getName()); in TestUResourceBundle()
260 rb1 = new ResourceBundle(testdatapath, oldLoc, status); in TestUResourceBundle()