public interface

TimeZoneManager

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

Class Overview

The TimeZoneManager can be used to retrieve the time zone of a user or the logged in user.

Summary

Public Methods
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 Methods

public TimeZone getDefaultTimezone ()

Returns
  • default system time zone.

public TimeZone getLoggedInUserTimeZone ()

Return the time zone of the user who is currently logged in.

Returns
  • the time zone.

public TimeZone getTimeZoneforUser (ApplicationUser user)

Return the time zone of a user who is currently logged in.

Parameters
user a user.
Returns
  • the time zone.