Package io.jmix.ui.component.mainwindow
Class TimeZoneIndicatorSupport
java.lang.Object
io.jmix.ui.component.mainwindow.TimeZoneIndicatorSupport
Convenience bean providing some methods for working with time zones.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDisplayNameLong
(TimeZone timeZone) getDisplayNameShort
(TimeZone timeZone) getDisplayOffset
(TimeZone timeZone)
-
Field Details
-
UTC
-
AD_HOC_TZ_PATTERN
-
timeSource
-
-
Constructor Details
-
TimeZoneIndicatorSupport
public TimeZoneIndicatorSupport()
-
-
Method Details
-
getDisplayOffset
- Returns:
- string representing the offset of the given time zone from GMT
-
getDisplayNameLong
- Returns:
- long string representation of the given time zone
-
getDisplayNameShort
- Returns:
- short string representation of the given time zone
-