public interface TimeZoneAwareLocaleContext extends LocaleContext
LocaleContext
, adding awareness of the current time zone.
Having this variant of LocaleContext set to LocaleContextHolder
means
that some TimeZone-aware infrastructure has been configured, even if it may not
be able to produce a non-null TimeZone at the moment.
LocaleContextHolder.getTimeZone()
Modifier and Type | Method and Description |
---|---|
java.util.TimeZone |
getTimeZone()
Return the current TimeZone, which can be fixed or determined dynamically,
depending on the implementation strategy.
|
getLocale
@Nullable java.util.TimeZone getTimeZone()
null
if no specific TimeZone associated