com.atlassian.jira.timezone
Interface TimeZoneManager

All Known Implementing Classes:
TimeZoneManagerImpl

public interface TimeZoneManager

The TimeZoneManager can be used to retrieve the time zone of a user or the logged in user.

Since:
v4.4

Method Summary
 TimeZone getLoggedInUserTimeZone()
          Return the time zone of the user who is currently logged in.
 TimeZone getTimeZoneforUser(com.atlassian.crowd.embedded.api.User user)
          Return the time zone of a user who is currently logged in.
 

Method Detail

getLoggedInUserTimeZone

TimeZone getLoggedInUserTimeZone()
Return the time zone of the user who is currently logged in.

Returns:
the time zone.

getTimeZoneforUser

TimeZone getTimeZoneforUser(com.atlassian.crowd.embedded.api.User user)
Return the time zone of a user who is currently logged in.

Parameters:
user - a user.
Returns:
the time zone.


Copyright © 2002-2013 Atlassian. All Rights Reserved.