接口 TimeZoneAwareLocaleContext
- 所有超级接口:
LocaleContext
- 所有已知实现类:
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.
- 从以下版本开始:
- 4.0
- 作者:
- Juergen Hoeller, Nicholas Williams
- 另请参阅:
-
方法概要
修饰符和类型方法说明Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.从接口继承的方法 cn.taketoday.core.i18n.LocaleContext
getLocale
-
方法详细资料
-
getTimeZone
Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.- 返回:
- the current TimeZone, or
nullif no specific TimeZone associated
-