Home | History | Annotate | Download | only in util

Lines Matching defs:ulocale

38 import com.ibm.icu.util.ULocale;
125 UResourceBundle bundle = UResourceBundle.getBundleInstance("com/ibm/icu/dev/data/testdata", ULocale.getDefault(), testLoader);
181 if(!bundle.getULocale().equals(ULocale.getDefault())){
182 errln("UResourceBundle did not load the default bundle when bundle was not found. Default: " + ULocale.getDefault() +
700 ULocale[] locales = ULocale.getAvailableLocales();
721 if (!hasLocalizedCountryFor(ULocale.ENGLISH, locales[i])
729 if(!hasLocalizedLanguageFor(ULocale.ENGLISH, locales[i])){
743 logln(locales[i] + "\t" + locales[i].getDisplayName(ULocale.ENGLISH) + "\t" + locales[i].getDisplayName(locales[i]));
747 private static boolean hasLocalizedLanguageFor(ULocale locale, ULocale otherLocale) {
753 private static boolean hasLocalizedCountryFor(ULocale locale, ULocale otherLocale) {
785 "calendar", new ULocale("ar_EG@calendar=islamic"), new boolean[1], true);
801 ULocale inLocale = new ULocale(testCases[i+1]);
802 ULocale expectLocale = new ULocale(testCases[i+2]);
807 ULocale equivLocale = ICUResourceBundle.getFunctionalEquivalent(path, cl, resName, keyword, inLocale, isAvail, truncate);
889 bundle = UResourceBundle.getBundleInstance(ULocale.getDefault());
891 errln("UResourceBundle.getBundleInstance(ULocale) failed");
899 public ULocale getULocale() {return ULocale.ROOT;}
913 if (!stub.getLocale().equals(ULocale.ROOT.toLocale())){
914 errln("UResourceBundle.getLoclae(Locale) should delegate to (ULocale)");
938 UResourceBundle bundle1 = UResourceBundle.getBundleInstance(baseName, new ULocale(locName), testLoader);
956 ULocale defaultLocale = ULocale.getDefault();
962 ULocale.setDefault(ULocale.CANADA_FRENCH);
968 ULocale.setDefault(defaultLocale);
986 ULocale loc = new ULocale("en_US");
1052 = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.resources.TestMessages", ULocale.getDefault(), testLoader);
1056 = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.resources.testmessages", ULocale.getDefault(), testLoader);
1066 ULocale ulocale = null;
1070 rb1 = UResourceBundle.getBundleInstance(ulocale);
1072 rb3 = UResourceBundle.getBundleInstance(baseName, ulocale);
1075 rb5 = UResourceBundle.getBundleInstance(baseName, ulocale, testLoader);