public class ConfluenceTimeZoneManager extends Object implements com.atlassian.sal.api.timezone.TimeZoneManager
Constructor and Description |
---|
ConfluenceTimeZoneManager(UserAccessor userAccessor,
SettingsManager settingsManager,
TenantRegistry tenantRegistry) |
Modifier and Type | Method and Description |
---|---|
TimeZone |
getDefaultTimeZone()
This implementation will lookup the default timezone for the current tenant in SettingsManager, falling back to
JDK default Timezone.
|
TimeZone |
getUserTimeZone() |
TimeZone |
getUserTimeZone(com.atlassian.sal.api.user.UserKey userKey) |
public ConfluenceTimeZoneManager(UserAccessor userAccessor, SettingsManager settingsManager, TenantRegistry tenantRegistry)
@Nonnull public TimeZone getUserTimeZone()
getUserTimeZone
in interface com.atlassian.sal.api.timezone.TimeZoneManager
@Nonnull public TimeZone getUserTimeZone(com.atlassian.sal.api.user.UserKey userKey)
getUserTimeZone
in interface com.atlassian.sal.api.timezone.TimeZoneManager
Copyright © 2003–2015 Atlassian. All rights reserved.