|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeExtent
Provides access to members that control the Time Extent.
The ITimeExtent interface is used to work with a specific perid of time. It includes a Start Time and an End Time, but can also provide the length of time between the start time and the end time. Note that the period of time is contiguous, so there are no gaps in the ITimeExtent.
Method Summary | |
---|---|
ITime |
getEndTime()
The time extent's end time. |
ITime |
getStartTime()
The time extent's start time. |
void |
intersect(ITimeValue otherTimeValue)
Adjust to intersect with the input time value. |
boolean |
isEmpty()
Indicates whether the time extent is empty. |
ITimeDuration |
queryTimeDuration()
Obtains the time extent's time duration. |
void |
setEmpty(boolean empty)
Indicates whether the time extent is empty. |
void |
setEndTime(ITime endTime)
The time extent's end time. |
void |
setExtent(ITime startTime,
ITime endTime)
Writes start and end time, with copies of the input time values. |
void |
setStartTime(ITime startTime)
The time extent's start time. |
void |
union(ITimeValue otherTimeValue)
Adjust to ovelap the input time value. |
Methods inherited from interface com.esri.arcgis.system.ITimeValue |
---|
getTimeReference, project, projectFromUTC, projectToUTC, setTimeReferenceByRef |
Method Detail |
---|
ITime getStartTime() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setStartTime(ITime startTime) throws IOException, AutomationException
The StartTime passed into this function must be before or equal to the current value of the EndTime property. To avoid problems, it is preferable to use the SetExtent method when setting both the start time and end time.
startTime
- A reference to a com.esri.arcgis.system.ITime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITime getEndTime() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEndTime(ITime endTime) throws IOException, AutomationException
The passed value for EndTime must be after or equal to the current value of the StartTime property. To avoid problems, it is preferable to use the SetExtent method when setting both the start time and end time.
endTime
- A reference to a com.esri.arcgis.system.ITime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.boolean isEmpty() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setEmpty(boolean empty) throws IOException, AutomationException
empty
- The empty (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setExtent(ITime startTime, ITime endTime) throws IOException, AutomationException
This function sets both the Start Time and End Time as one atomic action.
startTime
- A reference to a com.esri.arcgis.system.ITime (in)endTime
- A reference to a com.esri.arcgis.system.ITime (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ITimeDuration queryTimeDuration() throws IOException, AutomationException
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void union(ITimeValue otherTimeValue) throws IOException, AutomationException
This method expands the current TimeExtent to include its previous extent and the extent of the passed TimeExtent. The result is continuous, so any gap between the previous extent and the passed extent is included in the new extent.
otherTimeValue
- A reference to a com.esri.arcgis.system.ITimeValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void intersect(ITimeValue otherTimeValue) throws IOException, AutomationException
The current extent is adjusted to include the time period (if any) where the original value intersects with the passed TimeExtent value.
otherTimeValue
- A reference to a com.esri.arcgis.system.ITimeValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |