public class

TimeOptions

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

Class Overview

Time options

Summary

Nested Classes
enum TimeOptions.Units Units for time options. 
Public Constructors
TimeOptions()
Public Methods
boolean equals(Object obj)
static TimeOptions fromJson(JsonParser parser)
int getTimeOffset()
TimeOptions.Units getTimeOffsetUnits()
int hashCode()
boolean isTimeDataCumulative()
boolean isUseTime()
void setTimeDataCumulative(boolean timeDataCumulative)
void setTimeOffset(int timeOffset)
void setTimeOffsetUnits(TimeOptions.Units timeOffsetUnits)
void setUseTime(boolean useTime)
String toJson()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public TimeOptions ()

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public static TimeOptions fromJson (JsonParser parser)

Returns
TimeOptions
Throws
JsonParseException
IOException
JsonParseException
IOException

public int getTimeOffset ()

Returns
int the timeOffset

public TimeOptions.Units getTimeOffsetUnits ()

Returns
TimeOptions.Units the timeOffsetUnits

public int hashCode ()

Returns
int

public boolean isTimeDataCumulative ()

Returns
boolean the timeDataCumulative

public boolean isUseTime ()

Returns
boolean the useTime

public void setTimeDataCumulative (boolean timeDataCumulative)

Parameters
timeDataCumulative boolean: the timeDataCumulative to set

public void setTimeOffset (int timeOffset)

Parameters
timeOffset int: the timeOffset to set

public void setTimeOffsetUnits (TimeOptions.Units timeOffsetUnits)

Parameters
timeOffsetUnits TimeOptions.Units: the timeOffsetUnits to set

public void setUseTime (boolean useTime)

Parameters
useTime boolean: the useTime to set

public String toJson ()

Returns
String
Throws
Exception
Exception

public String toString ()

Returns
String