com.esri.arcgis.networkanalyst
Interface ITimeSlice

All Superinterfaces:
Serializable
All Known Implementing Classes:
TimeSlice

public interface ITimeSlice
extends Serializable

Provides access to time slice.

Remarks

Time slices are returned by IEnumTrafficSpeeds to specify a span of time associated with a set of traffic speeds.

Product Availability

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


Method Summary
 Date getFromDate()
          Time slice left bound.
 Date getToDate()
          Time slice right bound.
 void setFromDate(Date pFrom)
          Time slice left bound.
 void setToDate(Date pTo)
          Time slice right bound.
 

Method Detail

getFromDate

Date getFromDate()
                 throws IOException,
                        AutomationException
Time slice left bound.

Product Availability

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

Returns:
The pFrom
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFromDate

void setFromDate(Date pFrom)
                 throws IOException,
                        AutomationException
Time slice left bound.

Product Availability

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

Parameters:
pFrom - The pFrom (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getToDate

Date getToDate()
               throws IOException,
                      AutomationException
Time slice right bound.

Product Availability

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

Returns:
The pTo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setToDate

void setToDate(Date pTo)
               throws IOException,
                      AutomationException
Time slice right bound.

Product Availability

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

Parameters:
pTo - The pTo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.