A locale class in java api represents a specific geographical, political,
or cultural region. In java computing, locale defines a set of parameters
that defines the user's language, country and any special variant preferences
that the user wants to see in their user interface. An operation that
requires a locale to perform its task is called locale-sensitive.
And it also uses the locale to formulate information for the user.
Locale class tries to provide the following features
Number Formats Setting
Display Language Setting
Time zone Setting
Date/Time Formats Setting
Currency Formats Setting
Daylight Saving Time (DST) Setting
These all feature varies from country to country.
To know more about this, just click:
http:/www.roseindia.net/java/example/java/util/DefaultLocale.shtml
http:/www.roseindia.net/java/example/java/util/Locales.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.
Ask Questions? Discuss: Java Locale
Post your Comment