public interface

TimeZoneResolver

com.atlassian.jira.timezone.TimeZoneResolver
Known Indirect Subclasses

Class Overview

Internal interface used for resolving the TimeZoneInfo to use. These are normally implemented by the TimeZoneService, except when JIRA is still bootstrapping.

Summary

Public Methods
TimeZone getDefaultTimeZone(JiraServiceContext serviceContext)
Returns the JIRA default time zone.
TimeZone getUserTimeZone(JiraServiceContext serviceContext)
Returns a user's effective time zone.

Public Methods

public TimeZone getDefaultTimeZone (JiraServiceContext serviceContext)

Returns the JIRA default time zone.

Parameters
serviceContext a JiraServiceContext
Returns
  • a TimeZone

public TimeZone getUserTimeZone (JiraServiceContext serviceContext)

Returns a user's effective time zone.

Parameters
serviceContext a JiraServiceContext
Returns
  • a TimeZone