com.atlassian.confluence.api.impl.sal.timezone
Class SetupConfluenceTimeZoneManager

java.lang.Object
  extended by 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
SetupConfluenceTimeZoneManager()
           
 
Method Summary
 TimeZone getDefaultTimeZone()
           
 TimeZone getUserTimeZone()
           
 TimeZone getUserTimeZone(com.atlassian.sal.api.user.UserKey userKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetupConfluenceTimeZoneManager

public SetupConfluenceTimeZoneManager()
Method Detail

getUserTimeZone

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

getUserTimeZone

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

getDefaultTimeZone

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


Copyright © 2003–2015 Atlassian. All rights reserved.