A LocaleContext instance can be associated with a thread via the LocaleContextHolder class.
LocaleContextHolder#getLocale(), TimeZoneAwareLocaleContext
| Modifier and Type | Method and Description |
|---|---|
| public Locale | Returns: the current Locale, ornull if no specific Locale associatedReturn the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy. |
| getLocale | back to summary |
|---|---|
| public Locale getLocale() Return the current Locale, which can be fixed or determined dynamically, depending on the implementation strategy. | |