com.esri.arcgis.geodatabase
Interface INetworkQuery2

All Superinterfaces:
INetworkQuery, Serializable
All Known Implementing Classes:
INetworkQuery2Proxy, NetworkDataset

public interface INetworkQuery2
extends INetworkQuery, Serializable

Provides access to members that query the elements of the network dataset.

Product Availability

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


Method Summary
 Date convertLocalTimeToUTCTime(int localTimeZoneID, Date localTime)
          Converts local time for the given time zone to UTC time.
 Date convertUTCTimeToLocalTime(int localTimeZoneID, Date utcTime)
          Converts UTC time to local time for the given time zone.
 int getTimeZoneID(INetworkElement networkElement)
          The time zone ID for the given network element.
 
Methods inherited from interface com.esri.arcgis.geodatabase.INetworkQuery
clearIDCache, createForwardStar, createForwardStarAdjacencies, createNetworkElement, getComplexTurnCount, getEdgesByPosition, getEdgesBySegment, getElementCount, getElements, getElementsByOID, getElementsByOIDs, getElementsForSource, getMaxEID, getMaxValence, populateIDCache, queryEdge, queryJunction, queryTurn
 

Method Detail

getTimeZoneID

int getTimeZoneID(INetworkElement networkElement)
                  throws IOException,
                         AutomationException
The time zone ID for the given network element.

Product Availability

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

Parameters:
networkElement - A reference to a com.esri.arcgis.geodatabase.INetworkElement (in)
Returns:
The timeZoneID
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertLocalTimeToUTCTime

Date convertLocalTimeToUTCTime(int localTimeZoneID,
                               Date localTime)
                               throws IOException,
                                      AutomationException
Converts local time for the given time zone to UTC time.

Product Availability

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

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

convertUTCTimeToLocalTime

Date convertUTCTimeToLocalTime(int localTimeZoneID,
                               Date utcTime)
                               throws IOException,
                                      AutomationException
Converts UTC time to local time for the given time zone.

Product Availability

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

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