Lines Matching refs:locales
488 Locale[] locales = Locale.getAvailableLocales();
489 if (locales == null || locales.length == 0)
490 errln("Locale.getAvailableLocales() returned no installed locales!");
492 logln("Locale.getAvailableLocales() returned a list of " + locales.length + " locales.");
493 for (int i = 0; i < locales.length; i++)
494 logln(locales[i].toString());
595 // even for locales that are not installed.
647 * so this test fails (bug 4289223) when run under different locales. For example,
766 * is check that any locales with the EURO variant format a number using the
769 * ASSUME: All locales encode the Euro character "\u20AC".
774 * iterate through all locales.
780 Locale[] locales = NumberFormat.getAvailableLocales();
781 for (int i=0; i<locales.length; ++i) {
782 Locale loc = locales[i];
883 * Should throw an exception for unknown locales
901 * Should throw an exception for unknown locales, except they have three
931 Locale[] locales = { new Locale("no", "NO"), new Locale("no", "NO", "B"),
939 for (int i = 0; i < locales.length; i++) {
940 Locale loc = locales[i];