java.lang.Object | |
↳ | com.esri.core.map.TimeInfo |
This class contains information about time aware map service layers or individual layers within a map service.
Information from a map service will consist of the valid range of date/time covered (getTimeExtent()
) and
the time zone (getTimeReference()
). Information from a single map service layer will also consist of the
start and end time fields, the track ID field, the interval between dates/times in the range and the export options
that determine the behaviour of the layer when time ranges are set (see TimeOptions
).
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TimeInfo() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
static TimeInfo |
fromJson(JsonParser parser)
Create an instance of this class from a JSON string.
| ||||||||||
String |
getEndTimeField()
Gets the end time field.
| ||||||||||
TimeOptions |
getExportOptions()
Gets the export options.
| ||||||||||
String |
getStartTimeField()
Gets the start time field.
| ||||||||||
TimeExtent |
getTimeExtent()
Gets the time extent.
| ||||||||||
int |
getTimeInterval()
Gets the time interval.
| ||||||||||
TimeOptions.Units |
getTimeIntervalUnits()
Gets the time interval units.
| ||||||||||
TimeReference |
getTimeReference()
Gets the time reference.
| ||||||||||
String |
getTrackIdField()
Gets the track id field.
| ||||||||||
int | hashCode() | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create an instance of this class from a JSON string.
parser | the parser |
---|
JsonParseException | the json parse exception |
---|---|
IOException | Signals that an I/O exception has occurred. |
Gets the time interval. This is the suggested step size when stepping through the a time aware layer's time extent.
The unit for this is given by getTimeIntervalUnits()
.
Gets the time interval units.
Gets the time reference. This indicates the time zone and whether or not daylight saving is honoured. Note that the actual time values used by the server are UTC.