Package org.springframework.context.i18n
Interface TimeZoneAwareLocaleContext
- All Superinterfaces:
 LocaleContext
- All Known Implementing Classes:
 SimpleTimeZoneAwareLocaleContext
Extension of 
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.
- Since:
 - 4.0
 - Author:
 - Juergen Hoeller, Nicholas Williams
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionReturn the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.Methods inherited from interface org.springframework.context.i18n.LocaleContext
getLocale 
- 
Method Details
- 
getTimeZone
Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.- Returns:
 - the current TimeZone, or 
nullif no specific TimeZone associated 
 
 -