require(["esri/layers/TimeInfo"], function(TimeInfo) { /* code goes here */ });
Description
(Added at v2.0)
Time information details.
Samples
Search for
samples that use this class.
Constants
UNIT_CENTURIES | Indicates a value measured in centuries. |
UNIT_DAYS | Indicates a value measured in days. |
UNIT_DECADES | Indicates a value measured in decades. |
UNIT_HOURS | Indicates a value measured in hours. |
UNIT_MILLISECONDS | Indicates a value measured in milliseconds. |
UNIT_MINUTES | Indicates a value measured in minutes. |
UNIT_MONTHS | Indicates a value measured in months. |
UNIT_SECONDS | Indicates a value measured in seconds. |
UNIT_UNKNOWN | Indicates a value measured in unknown units. |
UNIT_WEEKS | Indicates a value measured in weeks. |
UNIT_YEARS | Indicates a value measured in years. |
Properties
Property Details
The name of the attribute field that contains the end time information.
Default time-related export options for the layer. When using a dynamic map service, these options can be overridden for sub-layers using the setLayerTimeOptions method.
The name of the attribute field that contains the start time information.
The time extent for all the data in the layer.
Time interval of the data in the layer. Typically used for the TimeSlider when animating the layer.
Temporal unit in which the time interval is measured. See the Constants table for valid values.
Information about how the time was measured.
The field that contains the trackId.