Class ConfluenceTimeZoneManager

java.lang.Object
com.atlassian.confluence.api.impl.sal.timezone.ConfluenceTimeZoneManager
All Implemented Interfaces:
com.atlassian.sal.api.timezone.TimeZoneManager

public class ConfluenceTimeZoneManager extends Object implements com.atlassian.sal.api.timezone.TimeZoneManager
  • Constructor Details

  • Method Details

    • getUserTimeZone

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

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

      public @NonNull TimeZone getDefaultTimeZone()
      This implementation will lookup the default timezone for the current tenant in SettingsManager, falling back to JDK default Timezone.
      Specified by:
      getDefaultTimeZone in interface com.atlassian.sal.api.timezone.TimeZoneManager