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