Package com.atlassian.jira.timezone
Interface TimeZoneResolver
- All Known Implementing Classes:
NoDatabaseTimeZoneResolver
,TimeZoneServiceImpl
public interface TimeZoneResolver
Internal interface used for resolving the TimeZoneInfo to use. These are normally implemented by the TimeZoneService,
except when JIRA is still bootstrapping.
- Since:
- v5.0
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultTimeZone
(JiraServiceContext serviceContext) Returns the JIRA default time zone.getUserTimeZone
(JiraServiceContext serviceContext) Returns a user's effective time zone.
-
Method Details
-
getDefaultTimeZone
Returns the JIRA default time zone.- Parameters:
serviceContext
- a JiraServiceContext- Returns:
- a TimeZone
- See Also:
-
getUserTimeZone
Returns a user's effective time zone.- Parameters:
serviceContext
- a JiraServiceContext- Returns:
- a TimeZone
- See Also:
-