Package com.atlassian.jira.timezone
Class TimeZoneManagerImpl
java.lang.Object
com.atlassian.jira.timezone.TimeZoneManagerImpl
- All Implemented Interfaces:
TimeZoneManager
- Since:
- v4.4
-
Constructor Summary
ConstructorsConstructorDescriptionTimeZoneManagerImpl(JiraAuthenticationContext jiraAuthenticationContext, UserPreferencesManager userPreferencesManager, ApplicationProperties applicationProperties, UserManager userManager) -
Method Summary
Modifier and TypeMethodDescriptionReturn the time zone of the user who is currently logged in.Return the time zone of a user who is currently logged in.
-
Constructor Details
-
TimeZoneManagerImpl
public TimeZoneManagerImpl(JiraAuthenticationContext jiraAuthenticationContext, UserPreferencesManager userPreferencesManager, ApplicationProperties applicationProperties, UserManager userManager)
-
-
Method Details
-
getLoggedInUserTimeZone
Description copied from interface:TimeZoneManagerReturn the time zone of the user who is currently logged in.- Specified by:
getLoggedInUserTimeZonein interfaceTimeZoneManager- Returns:
- the time zone.
-
getTimeZoneforUser
Description copied from interface:TimeZoneManagerReturn the time zone of a user who is currently logged in.- Specified by:
getTimeZoneforUserin interfaceTimeZoneManager- Parameters:
user- a user.- Returns:
- the time zone.
-
getDefaultTimezone
- Specified by:
getDefaultTimezonein interfaceTimeZoneManager- Returns:
- default system time zone.
-