Package com.atlassian.jira.timezone
Class TimeZoneInfoImpl
java.lang.Object
com.atlassian.jira.timezone.TimeZoneInfoImpl
- All Implemented Interfaces:
TimeZoneInfo,Comparable<TimeZoneInfo>
- Since:
- v4.4
-
Constructor Summary
ConstructorsConstructorDescriptionTimeZoneInfoImpl(String timeZoneId, String displayName, TimeZone timeZone, I18nHelper i18nHelper, String regionKey) -
Method Summary
-
Constructor Details
-
TimeZoneInfoImpl
public TimeZoneInfoImpl(String timeZoneId, String displayName, TimeZone timeZone, I18nHelper i18nHelper, String regionKey)
-
-
Method Details
-
getTimeZoneId
- Specified by:
getTimeZoneIdin interfaceTimeZoneInfo- Returns:
- the id of the timezone
-
getDisplayName
- Specified by:
getDisplayNamein interfaceTimeZoneInfo- Returns:
- the i18n'ed display name for this timezone.
-
getGMTOffset
- Specified by:
getGMTOffsetin interfaceTimeZoneInfo- Returns:
- the GMT offset in the format (GMT[+|-]hh:mm)
-
getCity
- Specified by:
getCityin interfaceTimeZoneInfo- Returns:
- the name of the city for this timezone.
-
getRegionKey
- Specified by:
getRegionKeyin interfaceTimeZoneInfo- Returns:
- the key of the region
-
toTimeZone
- Specified by:
toTimeZonein interfaceTimeZoneInfo- Returns:
- the JAVA TimeZone object for this timezone.
-
compareTo
- Specified by:
compareToin interfaceComparable<TimeZoneInfo>
-
toString
-