Package com.atlassian.jira.timezone
Interface TimeZoneManager
- All Known Implementing Classes:
TimeZoneManagerImpl
public interface TimeZoneManager
The TimeZoneManager can be used to retrieve the time zone of a user or the logged in user.
- Since:
- v4.4
-
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.
-
Method Details
-
getLoggedInUserTimeZone
TimeZone getLoggedInUserTimeZone()Return the time zone of the user who is currently logged in.- Returns:
- the time zone.
-
getTimeZoneforUser
Return the time zone of a user who is currently logged in.- Parameters:
user
- a user.- Returns:
- the time zone.
-
getDefaultTimezone
TimeZone getDefaultTimezone()- Returns:
- default system time zone.
-