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()
TimeZoneManagergetLoggedInUserTimeZone in interface TimeZoneManagerpublic TimeZone getTimeZoneforUser(ApplicationUser user)
TimeZoneManagergetTimeZoneforUser in interface TimeZoneManageruser - a user.public TimeZone getDefaultTimezone()
getDefaultTimezone in interface TimeZoneManagerCopyright © 2002-2019 Atlassian. All Rights Reserved.