Retrieves a Locale object that represents the locale settings for the current thread.
public static Locale getCurrentLocale()
Returns a Locale object with the locale settings for the thread.
Use the getCurrentLocale to retrieve a Locale object that represents the current world locale for the thread. You can use this method to determine the language, currency, and date system to use in your application based on the locale defined in the user's Control Panel settings.
See Also setCurrentLocale