Package org.springframework.context.i18n
Abstraction for determining the current Locale, plus global holder that exposes a thread-bound Locale.
Interface Summary Interface Description LocaleContext Strategy interface for determining the current Locale.TimeZoneAwareLocaleContext Extension ofLocaleContext
, adding awareness of the current time zone.Class Summary Class Description LocaleContextHolder Simple holder class that associates a LocaleContext instance with the current thread.SimpleLocaleContext Simple implementation of theLocaleContext
interface, always returning a specifiedLocale
.SimpleTimeZoneAwareLocaleContext Simple implementation of theTimeZoneAwareLocaleContext
interface, always returning a specifiedLocale
andTimeZone
.