Lines Matching refs:locales
32 System.out.println("Found " + systemLocales.length + " locales:");
33 Locale[] locales = new Locale[systemLocales.length];
34 for (int i = 0; i < locales.length; i++) {
37 if (i > 0 && locales[i - 1].toString().compareTo(systemLocales[j].toString()) >= 0)
42 locales[i] = lowest;
44 for (int i = 0; i < locales.length; i++) {
45 if (locales[i].getCountry().length() == 0)
46 System.out.println(" " + locales[i].getDisplayLanguage() + ":");
48 if (locales[i].getVariant().length() == 0)
49 System.out.println(" " + locales[i].getDisplayCountry());
51 System.out.println(" " + locales[i].getDisplayCountry() + ", "
52 + locales[i].getDisplayVariant());