com.atlassian.jira.timezone
Class TimeZoneManagerImpl

java.lang.Object
  extended by com.atlassian.jira.timezone.TimeZoneManagerImpl
All Implemented Interfaces:
TimeZoneManager

public class TimeZoneManagerImpl
extends Object
implements TimeZoneManager

Since:
v4.4

Constructor Summary
TimeZoneManagerImpl(JiraAuthenticationContext jiraAuthenticationContext, UserPreferencesManager userPreferencesManager, ApplicationProperties applicationProperties)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeZoneManagerImpl

public TimeZoneManagerImpl(JiraAuthenticationContext jiraAuthenticationContext,
                           UserPreferencesManager userPreferencesManager,
                           ApplicationProperties applicationProperties)
Method Detail

getLoggedInUserTimeZone

public TimeZone getLoggedInUserTimeZone()
Description copied from interface: TimeZoneManager
Return the time zone of the user who is currently logged in.

Specified by:
getLoggedInUserTimeZone in interface TimeZoneManager
Returns:
the time zone.

getTimeZoneforUser

public TimeZone getTimeZoneforUser(com.atlassian.crowd.embedded.api.User user)
Description copied from interface: TimeZoneManager
Return the time zone of a user who is currently logged in.

Specified by:
getTimeZoneforUser in interface TimeZoneManager
Parameters:
user - a user.
Returns:
the time zone.


Copyright © 2002-2012 Atlassian. All Rights Reserved.