public class TimeZoneManagerImpl extends Object implements TimeZoneManager
Constructor and Description |
---|
TimeZoneManagerImpl(JiraAuthenticationContext jiraAuthenticationContext,
UserPreferencesManager userPreferencesManager,
ApplicationProperties applicationProperties,
UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
TimeZone |
getDefaultTimezone() |
TimeZone |
getLoggedInUserTimeZone()
Return the time zone of the user who is currently logged in.
|
TimeZone |
getTimeZoneforUser(ApplicationUser user)
Return the time zone of a user who is currently logged in.
|
public TimeZoneManagerImpl(JiraAuthenticationContext jiraAuthenticationContext, UserPreferencesManager userPreferencesManager, ApplicationProperties applicationProperties, UserManager userManager)
public TimeZone getLoggedInUserTimeZone()
TimeZoneManager
getLoggedInUserTimeZone
in interface TimeZoneManager
public TimeZone getTimeZoneforUser(ApplicationUser user)
TimeZoneManager
getTimeZoneforUser
in interface TimeZoneManager
user
- a user.public TimeZone getDefaultTimezone()
getDefaultTimezone
in interface TimeZoneManager
Copyright © 2002-2019 Atlassian. All Rights Reserved.