com.esri.core.map
Class TimeReference

java.lang.Object
  extended by com.esri.core.map.TimeReference

public class TimeReference
extends Object

This class represents the timezone of a time aware layer and indicates whether or not daylight saving is respected. Note that this information is for reference only, all dates and times for time aware layers are in UTC.

Since:
10.1.1

Constructor Summary
TimeReference()
           
 
Method Summary
static TimeReference fromJson(org.codehaus.jackson.JsonParser parser)
          Create an instance of this class from JSON.
 String getTimeZone()
          Gets the time zone.
 boolean respectsDaylightSaving()
          Indicates whether or not the service respects daylight saving.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeReference

public TimeReference()
Method Detail

getTimeZone

public String getTimeZone()
Gets the time zone.

Returns:
the timeZone
Since:
10.1.1

respectsDaylightSaving

public boolean respectsDaylightSaving()
Indicates whether or not the service respects daylight saving.

Returns:
true if the service respects daylight saving
Since:
10.1.1

fromJson

public static TimeReference fromJson(org.codehaus.jackson.JsonParser parser)
                              throws org.codehaus.jackson.JsonParseException,
                                     IOException
Create an instance of this class from JSON.

Parameters:
parser - the parser
Returns:
the time reference
Throws:
org.codehaus.jackson.JsonParseException - the json parse exception
IOException - Signals that an I/O exception has occurred.
Since:
10.1.1


Copyright © 2012. All Rights Reserved.