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 |
---|---|
java.util.Locale |
getLocale()
Return the current Locale, which can be fixed or determined dynamically,
depending on the implementation strategy.
|
@Nullable java.util.Locale getLocale()
null
if no specific Locale associated