java.lang.Object | |
↳ | com.atlassian.jira.timezone.TimeZoneServiceImpl |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.timezone.TimeZoneService
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Reset the default time zone to the JVM time zone.
| |||||||||||
Resets the time zone for this user to the JIRA default time zone.
| |||||||||||
Returns the JIRA default time zone.
| |||||||||||
Returns the default time zone which is globally configured.
| |||||||||||
Return the region key of the current default time zone.
| |||||||||||
Returns the time zone of the JVM
| |||||||||||
Retrieves all time zones.
| |||||||||||
Returns all time zone regions.
| |||||||||||
Returns a user's effective time zone.
| |||||||||||
Return the time zone for this user.
| |||||||||||
Allows to set the default time zone.
| |||||||||||
Sets the default time zone for this user.
| |||||||||||
Returns true if the JVM time zone is used, otherwise false.
| |||||||||||
Returns true if this user is using the JIRA default time zone or false if the user has is using a custom time zone.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.timezone.TimeZoneResolver
| |||||||||||
From interface
com.atlassian.jira.timezone.TimeZoneService
|
Reset the default time zone to the JVM time zone.
serviceContext | JIRA Service Context containing the user that changing the default time zone. |
---|
Resets the time zone for this user to the JIRA default time zone.
serviceContext | JIRA Service Context containing the user. |
---|
Returns the JIRA default time zone.
serviceContext | a JiraServiceContext |
---|
Returns the default time zone which is globally configured. This can either be the JVM time zone or a time zone configured by the administrator.
serviceContext | JIRA Service Context containing the user that is retrieving the time zone information. |
---|
Return the region key of the current default time zone. If the region key is SYSTEM, it indicates it is using the JVM time zone.
Returns the time zone of the JVM
serviceContext | JIRA Service Context containing the user that is retrieving the time zone information. |
---|
Retrieves all time zones. Returns only a subset of the time zones which are provided by the JVM. This cannonical list of time zones can be found here: See http://joda-time.sourceforge.net/time zones.html
serviceContext | JIRA Service Context containing the user that is retrieving the time zone information. |
---|
Returns all time zone regions. Timezones are grouped by region, so it is more convenient for the user to find the correct time zone. Regions have a key and an i18n display name.
serviceContext | JIRA Service Context containing the user that is retrieving the time zone information. |
---|
Returns a user's effective time zone.
serviceContext | a JiraServiceContext |
---|
Return the time zone for this user. This can either be a time zone which the user has defined in its preferences or the JIRA default time zone. NB: If the user is null JIRA's default time zone is returned.
serviceContext | JIRA Service Context containing the user. |
---|
Allows to set the default time zone. The user requires the JIRA administrator permission to perform this operation. Only time zones with IDs returned by getTimeZoneInfos() are supported.
timeZoneId | the id of the time zone. |
---|---|
serviceContext | JIRA Service Context containing the user that changing the default time zone. |
Sets the default time zone for this user.
timeZoneId | the time zone id |
---|---|
serviceContext | JIRA Service Context containing the user. |
Returns true if the JVM time zone is used, otherwise false.
Returns true if this user is using the JIRA default time zone or false if the user has is using a custom time zone.