Thousands of examples at your fingertips!
All classes, methods fields etc. are linked to the API documentation.
All members are listed by frequency of use or alphabetically (see left pane).
Links to examples and utility functions/classes are shown below
Class java.util.Locale
[api documentation] [ main menu] Search

Links to examples (only one line shown below for each example):
[add your own example]

1 Locale newloc;
2 System.setProperty( SYSPROP_COUNTRY, java.util.Locale.getDefault().getCountry() );
3 Locale loc = Locale.getDefault();
4 clientLocale = Locale.getDefault().toString();
5 if( Locale.getDefault().toString().startsWith( "ru" )){
6 new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US),
7 Locale[] loc = Collator.getAvailableLocales();
8 Locale realDefaultLocale = Locale.getDefault();
9 System.out.println(Locale.TRADITIONAL_CHINESE);
10 Locale oldLocale = locale;
11 return Locale.getDefault();
12 return Locale.getDefault();
13 if ( !StringUtils.isNotEmpty(locale.getCountry()) &&
14 locale = Locale.getDefault();
15 Locale locale;
16 Locale locale = null;
17 Locale ret = null;
18 private String language=Locale.getDefault().getLanguage();
19 Locale locale;
20 Locale loc = Locale.getDefault();

Links to utility classes and functions:

1 org.apache.commons.beanutils.locale.LocaleBeanUtils
2 org.apache.commons.beanutils.locale.LocaleConvertUtils
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.