This page describes an older version, please see latest API at http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/supportClasses/TimeInfo.html.
Packagecom.esri.ags.layers.supportClasses
Classpublic class TimeInfo
InheritanceTimeInfo Inheritance flash.events.EventDispatcher

Since : ArcGIS API for Flex 2.0

Time information details.

See also

com.esri.ags.layers.ArcGISDynamicMapServiceLayer.timeInfo
com.esri.ags.layers.ArcGISTiledMapServiceLayer.timeInfo
com.esri.ags.layers.supportClasses.LayerDetails.timeInfo
com.esri.ags.layers.supportClasses.TableDetails.timeInfo


Public Properties
 PropertyDefined By
  endTimeField : String
The name of the attribute field that contains the end time information.
TimeInfo
  exportOptions : LayerTimeOptions
Default time-related export options for the layer.
TimeInfo
  startTimeField : String
The name of the attribute field that contains the start time information.
TimeInfo
  timeExtent : TimeExtent
The time extent for all the data in the layer.
TimeInfo
  timeInterval : Number
Time interval of the data in the layer.
TimeInfo
  timeIntervalUnits : String
Temporal unit in which the time interval is measured.
TimeInfo
  timeReference : TimeReference
Information about how the time was measured.
TimeInfo
  trackIdField : String
The field that contains the trackId.
TimeInfo
Public Constants
 ConstantDefined By
  UNIT_CENTURIES : String = esriTimeUnitsCenturies
[static] Centuries.
TimeInfo
  UNIT_DAYS : String = esriTimeUnitsDays
[static] Days.
TimeInfo
  UNIT_DECADES : String = esriTimeUnitsDecades
[static] Decades.
TimeInfo
  UNIT_HOURS : String = esriTimeUnitsHours
[static] Hours.
TimeInfo
  UNIT_MILLISECONDS : String = esriTimeUnitsMilliseconds
[static] Milliseconds.
TimeInfo
  UNIT_MINUTES : String = esriTimeUnitsMinutes
[static] Minutes.
TimeInfo
  UNIT_MONTHS : String = esriTimeUnitsMonths
[static] Months.
TimeInfo
  UNIT_SECONDS : String = esriTimeUnitsSeconds
[static] Seconds.
TimeInfo
  UNIT_UNKNOWN : String = esriTimeUnitsUnknown
[static] Unknown time units.
TimeInfo
  UNIT_WEEKS : String = esriTimeUnitsWeeks
[static] Weeks.
TimeInfo
  UNIT_YEARS : String = esriTimeUnitsYears
[static] Years.
TimeInfo
Property Detail
endTimeFieldproperty
endTimeField:String

The name of the attribute field that contains the end time information.

This property can be used as the source for data binding.


Implementation
    public function get endTimeField():String
    public function set endTimeField(value:String):void
exportOptionsproperty 
exportOptions:LayerTimeOptions

Default time-related export options for the layer. When using a dynamic map service, these options can be overriden for sub-layers using the setLayerTimeOptions method.

This property can be used as the source for data binding.


Implementation
    public function get exportOptions():LayerTimeOptions
    public function set exportOptions(value:LayerTimeOptions):void
startTimeFieldproperty 
startTimeField:String

The name of the attribute field that contains the start time information.

This property can be used as the source for data binding.


Implementation
    public function get startTimeField():String
    public function set startTimeField(value:String):void
timeExtentproperty 
timeExtent:TimeExtent

The time extent for all the data in the layer.

This property can be used as the source for data binding.


Implementation
    public function get timeExtent():TimeExtent
    public function set timeExtent(value:TimeExtent):void
timeIntervalproperty 
timeInterval:Number

Time interval of the data in the layer. Typically used for the TimeSlider when animating the layer.

This property can be used as the source for data binding.


Implementation
    public function get timeInterval():Number
    public function set timeInterval(value:Number):void
timeIntervalUnitsproperty 
timeIntervalUnits:String

Temporal unit in which the time interval is measured. See the TimeInfo constants for valid values.

This property can be used as the source for data binding.


Implementation
    public function get timeIntervalUnits():String
    public function set timeIntervalUnits(value:String):void
timeReferenceproperty 
timeReference:TimeReference

Information about how the time was measured.

This property can be used as the source for data binding.


Implementation
    public function get timeReference():TimeReference
    public function set timeReference(value:TimeReference):void
trackIdFieldproperty 
trackIdField:String

The field that contains the trackId.

This property can be used as the source for data binding.


Implementation
    public function get trackIdField():String
    public function set trackIdField(value:String):void
Constant Detail
UNIT_CENTURIESConstant
public static const UNIT_CENTURIES:String = esriTimeUnitsCenturies

Centuries.

UNIT_DAYSConstant 
public static const UNIT_DAYS:String = esriTimeUnitsDays

Days.

UNIT_DECADESConstant 
public static const UNIT_DECADES:String = esriTimeUnitsDecades

Decades.

UNIT_HOURSConstant 
public static const UNIT_HOURS:String = esriTimeUnitsHours

Hours.

UNIT_MILLISECONDSConstant 
public static const UNIT_MILLISECONDS:String = esriTimeUnitsMilliseconds

Milliseconds.

UNIT_MINUTESConstant 
public static const UNIT_MINUTES:String = esriTimeUnitsMinutes

Minutes.

UNIT_MONTHSConstant 
public static const UNIT_MONTHS:String = esriTimeUnitsMonths

Months.

UNIT_SECONDSConstant 
public static const UNIT_SECONDS:String = esriTimeUnitsSeconds

Seconds.

UNIT_UNKNOWNConstant 
public static const UNIT_UNKNOWN:String = esriTimeUnitsUnknown

Unknown time units.

UNIT_WEEKSConstant 
public static const UNIT_WEEKS:String = esriTimeUnitsWeeks

Weeks.

UNIT_YEARSConstant 
public static const UNIT_YEARS:String = esriTimeUnitsYears

Years.