public class

TimeZoneManagerImpl

extends Object
implements TimeZoneManager
java.lang.Object
   ↳ com.atlassian.jira.timezone.TimeZoneManagerImpl

Summary

Public Constructors
TimeZoneManagerImpl(JiraAuthenticationContext jiraAuthenticationContext, UserPreferencesManager userPreferencesManager, ApplicationProperties applicationProperties)
Public Methods
TimeZone getDefaultTimezone()
TimeZone getLoggedInUserTimeZone()
Return the time zone of the user who is currently logged in.
TimeZone getTimeZoneforUser(User user)
Return the time zone of a user who is currently logged in.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.timezone.TimeZoneManager

Public Constructors

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

Public Methods

public TimeZone getDefaultTimezone ()

public TimeZone getLoggedInUserTimeZone ()

Return the time zone of the user who is currently logged in.

Returns
  • the time zone.

public TimeZone getTimeZoneforUser (User user)

Return the time zone of a user who is currently logged in.

Parameters
user a user.
Returns
  • the time zone.