Lines Matching refs:locales
26 * @summary Verify that list of available locales is non-empty, and print the list
36 System.out.println("Found " + systemLocales.length + " locales:");
37 Locale[] locales = new Locale[systemLocales.length];
38 for (int i = 0; i < locales.length; i++) {
41 if (i > 0 && locales[i - 1].toString().compareTo(systemLocales[j].toString()) >= 0)
46 locales[i] = lowest;
48 for (int i = 0; i < locales.length; i++) {
49 if (locales[i].getCountry().length() == 0)
50 System.out.println(" " + locales[i].getDisplayLanguage() + ":");
52 if (locales[i].getVariant().length() == 0)
53 System.out.println(" " + locales[i].getDisplayCountry());
55 System.out.println(" " + locales[i].getDisplayCountry() + ", "
56 + locales[i].getDisplayVariant());