Package org.springframework.context.i18n
@NullMarked
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
LocaleContextHolderto theThreadLocalAccessorcontract to assist the Micrometer Context Propagation library withLocaleContextpropagation.Simple implementation of theLocaleContextinterface, always returning a specifiedLocale.Simple implementation of theTimeZoneAwareLocaleContextinterface, always returning a specifiedLocaleandTimeZone.Extension ofLocaleContext, adding awareness of the current time zone.