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 |
|---|---|
| public TimeZone | Returns: the current TimeZone, ornull if no specific TimeZone associatedReturn the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy. |
| getTimeZone | back to summary |
|---|---|
| public TimeZone getTimeZone() Return the current TimeZone, which can be fixed or determined dynamically, depending on the implementation strategy. | |