org.springframework.context.i18n

## 接口 TimeZoneAwareLocaleContext

- 所有超级接口:
    LocaleContext
  所有已知实现类:
    SimpleTimeZoneAwareLocaleContext

      public interface TimeZoneAwareLocaleContext
      extends LocaleContext

  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
  另请参阅:
    `LocaleContextHolder.getTimeZone()`

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `TimeZone` | `getTimeZone()` Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.

    - ### 从接口继承的方法 org.springframework.context.i18n.LocaleContext

      `getLocale`

- - ### 方法详细资料

    - #### getTimeZone

          @Nullable
          TimeZone getTimeZone()

      Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy.
      返回:
        the current TimeZone, or `null` if no specific TimeZone associated