Constructor Locale(String language, String country, String variant)
Member of: java.util.Locale
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 setLocale(new Locale(language, country, variant));
2 java.text.Collator.getInstance(new java.util.Locale("en", "US", ""));
3 current = prop==null ? (Properties)localMap.get(new Locale("en", "US", "")) : prop;
4 valueTest(name, new Locale("en", "US", "TEST1"), false, false);
5 valueTest(name, new Locale("en", "US", "TEST2"), true, false);
6 new Locale("en", "US", ""));
7 locale = new Locale(lang, country, variant);
8 Locale locale = new Locale(language, country, variant);
9 x = new Locale("en", "US", "Skaringa");
10 setLocale(new Locale(language, country, variant));
11 locale = new Locale(parts[0] != null ? parts[0] : "", //NOI18N
12 Locale locale = new Locale(language, country, variant);
13 org.apache.xml.utils.res.XResourceBundle.LANG_BUNDLE_NAME, new Locale("ja", "JP", "HA"));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.