com.atlassian.jira.timezone
Interface TimeZoneInfo

All Superinterfaces:
Comparable<TimeZoneInfo>
All Known Implementing Classes:
TimeZoneInfoImpl

public interface TimeZoneInfo
extends Comparable<TimeZoneInfo>

The TimeZoneInfo holds information about a timezone.

Since:
v4.4

Method Summary
 String getCity()
           
 String getDisplayName()
           
 String getGMTOffset()
           
 String getRegionKey()
           
 String getTimeZoneId()
           
 TimeZone toTimeZone()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

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.


Copyright © 2002-2012 Atlassian. All Rights Reserved.