com.atlassian.jira.rpc.soap.beans
Class RemoteTimeInfo

java.lang.Object
  extended by com.atlassian.jira.rpc.soap.beans.RemoteTimeInfo

public class RemoteTimeInfo
extends java.lang.Object

Represents the time zone information of the JIRA server.

Since:
v3.13.3

Field Summary
static java.lang.String ISO8601_FORMAT
           
 
Constructor Summary
RemoteTimeInfo()
           
 
Method Summary
 java.lang.String getServerTime()
           
 java.lang.String getTimeZoneId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ISO8601_FORMAT

public static final java.lang.String ISO8601_FORMAT
See Also:
Constant Field Values
Constructor Detail

RemoteTimeInfo

public RemoteTimeInfo()
Method Detail

getServerTime

public java.lang.String getServerTime()
Returns:
the current time on the server, in ISO8601 format: yyyy-MM-dd'T'HH:mm:ss.SSSZ

getTimeZoneId

public java.lang.String getTimeZoneId()
Returns:
the time zone id of the server; used for TimeZone.getTimeZone(String)


Copyright © 2004-2011 Atlassian. All Rights Reserved.