com.esri.arcgis.carto
Interface IMapTimeDescription2

All Superinterfaces:
IMapTimeDescription, Serializable
All Known Implementing Classes:
MapDescription

public interface IMapTimeDescription2
extends IMapTimeDescription, Serializable

Provides access to time properties of a MapDescription.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 int getTimeRelation()
          Time relation for the time query.
 void setTimeRelation(int relation)
          Time relation for the time query.
 
Methods inherited from interface com.esri.arcgis.carto.IMapTimeDescription
getTimeReference, getTimeValue, setTimeReferenceByRef, setTimeValueByRef
 

Method Detail

getTimeRelation

int getTimeRelation()
                    throws IOException,
                           AutomationException
Time relation for the time query.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Returns:
A com.esri.arcgis.system.esriTimeRelation constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTimeRelation

void setTimeRelation(int relation)
                     throws IOException,
                            AutomationException
Time relation for the time query.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Parameters:
relation - A com.esri.arcgis.system.esriTimeRelation constant (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.