public class

TimeReference

extends Object
java.lang.Object
   ↳ com.esri.core.map.TimeReference

Class Overview

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.

Summary

Public Constructors
TimeReference()
Public Methods
static TimeReference fromJson(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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TimeReference ()

Public Methods

public static TimeReference fromJson (JsonParser parser)

Create an instance of this class from JSON.

Parameters
parser the parser
Returns
  • the time reference
Throws
JsonParseException the json parse exception
IOException Signals that an I/O exception has occurred.

public String getTimeZone ()

Gets the time zone.

Returns
  • the timeZone

public boolean respectsDaylightSaving ()

Indicates whether or not the service respects daylight saving.

Returns
  • true if the service respects daylight saving