Class 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 Detail

      • SetupConfluenceTimeZoneManager

        public SetupConfluenceTimeZoneManager()
    • Method Detail

      • getUserTimeZone

        public @NonNull TimeZone getUserTimeZone()
        Specified by:
        getUserTimeZone in interface com.atlassian.sal.api.timezone.TimeZoneManager
      • getUserTimeZone

        public @NonNull TimeZone getUserTimeZone​(com.atlassian.sal.api.user.UserKey userKey)
        Specified by:
        getUserTimeZone in interface com.atlassian.sal.api.timezone.TimeZoneManager
      • getDefaultTimeZone

        public @NonNull TimeZone getDefaultTimeZone()
        Specified by:
        getDefaultTimeZone in interface com.atlassian.sal.api.timezone.TimeZoneManager