Java Locale

A locale class in java api represents a specific geographical, political, or cultural region.

Java Locale

Java Locale

     

 

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

  1. Number Formats Setting

  2. Display Language Setting

  3. Time zone Setting

  4. Date/Time Formats Setting

  5. Currency Formats Setting

  6. 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