Package org.springframework.context.i18n
@NonNullApi
@NonNullFields
package org.springframework.context.i18n
Abstraction for determining the current Locale,
plus global holder that exposes a thread-bound Locale.
-
ClassDescriptionStrategy interface for determining the current Locale.Simple holder class that associates a LocaleContext instance with the current thread.Adapt
LocaleContextHolder
to theThreadLocalAccessor
contract to assist the Micrometer Context Propagation library withLocaleContext
propagation.Simple implementation of theLocaleContext
interface, always returning a specifiedLocale
.Simple implementation of theTimeZoneAwareLocaleContext
interface, always returning a specifiedLocale
andTimeZone
.Extension ofLocaleContext
, adding awareness of the current time zone.