com.esri.arcgis.system
Interface ITimeInstant

All Superinterfaces:
ITimeValue, Serializable
All Known Implementing Classes:
TimeInstant

public interface ITimeInstant
extends ITimeValue, Serializable

Provides access to members that control the Time Instant.

Description

A TimeInstant represents a single point in time. It has no Duration or end time.

Product Availability

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


Method Summary
 ITime getTime()
          The time instant time value.
 void setTime(ITime time)
          The time instant time value.
 
Methods inherited from interface com.esri.arcgis.system.ITimeValue
getTimeReference, project, projectFromUTC, projectToUTC, setTimeReferenceByRef
 

Method Detail

getTime

ITime getTime()
              throws IOException,
                     AutomationException
The time instant time value.

Product Availability

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

Returns:
A reference to a com.esri.arcgis.system.ITime
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setTime

void setTime(ITime time)
             throws IOException,
                    AutomationException
The time instant time value.

Product Availability

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

Parameters:
time - A reference to a com.esri.arcgis.system.ITime (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.