Package com.atlassian.jira.timezone
Interface TimeZoneInfo
- All Superinterfaces:
Comparable<TimeZoneInfo>
- All Known Implementing Classes:
TimeZoneInfoImpl
The TimeZoneInfo holds information about a timezone.
- Since:
- v4.4
-
Method Summary
Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getTimeZoneId
String getTimeZoneId()- Returns:
- the id of the timezone
-
getDisplayName
String getDisplayName()- Returns:
- the i18n'ed display name for this timezone.
-
getGMTOffset
String getGMTOffset()- Returns:
- the GMT offset in the format (GMT[+|-]hh:mm)
-
getCity
String getCity()- Returns:
- the name of the city for this timezone.
-
getRegionKey
String getRegionKey()- Returns:
- the key of the region
-
toTimeZone
TimeZone toTimeZone()- Returns:
- the JAVA TimeZone object for this timezone.
-