Class SetupConfluenceTimeZoneManager
- java.lang.Object
-
- com.atlassian.confluence.api.impl.sal.timezone.SetupConfluenceTimeZoneManager
-
- All Implemented Interfaces:
com.atlassian.sal.api.timezone.TimeZoneManager
public class SetupConfluenceTimeZoneManager extends Object implements com.atlassian.sal.api.timezone.TimeZoneManager
An implementation of TimeZoneManager for use during setup phase. Will always return the default timezone according to the JDK.
-
-
Constructor Summary
Constructors Constructor Description SetupConfluenceTimeZoneManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull TimeZone
getDefaultTimeZone()
@NonNull TimeZone
getUserTimeZone()
@NonNull TimeZone
getUserTimeZone(com.atlassian.sal.api.user.UserKey userKey)
-
-
-
Method Detail
-
getUserTimeZone
public @NonNull TimeZone getUserTimeZone()
- Specified by:
getUserTimeZone
in interfacecom.atlassian.sal.api.timezone.TimeZoneManager
-
getUserTimeZone
public @NonNull TimeZone getUserTimeZone(com.atlassian.sal.api.user.UserKey userKey)
- Specified by:
getUserTimeZone
in interfacecom.atlassian.sal.api.timezone.TimeZoneManager
-
getDefaultTimeZone
public @NonNull TimeZone getDefaultTimeZone()
- Specified by:
getDefaultTimeZone
in interfacecom.atlassian.sal.api.timezone.TimeZoneManager
-
-