Top Description Interfaces Classes
module spring.context

Package org.springframework.context.i18n

Annotations
@NonNullApi
@NonNullFields
Imports
org.springframework.lang.NonNullApi, .NonNullFields

Abstraction for determining the current Locale, plus global holder that exposes a thread-bound Locale.

Interface Summary

Modifier and TypeInterface and Description
public interface
LocaleContext

Strategy interface for determining the current Locale.

public interface
TimeZoneAwareLocaleContext

Extension of LocaleContext, adding awareness of the current time zone.

Class Summary

Modifier and TypeClass and Description
public class
LocaleContextHolder

Simple holder class that associates a LocaleContext instance with the current thread.

public class
SimpleLocaleContext

Simple implementation of the LocaleContext interface, always returning a specified Locale.

public class
SimpleTimeZoneAwareLocaleContext

Simple implementation of the TimeZoneAwareLocaleContext interface, always returning a specified Locale and TimeZone.