This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INARouteSolver2 Interface > INARouteSolver2.StartTime Property (ArcObjects .NET 10.4 SDK) |
Specifies the time the route begins.
[Visual Basic .NET]
Public Property StartTime As DateTime
[C#]
public DateTime StartTime {get; set;}
[C++]
HRESULT get_StartTime(
DATE* Value
);
[C++]
HRESULT put_StartTime(
DATE Value
);
[C++]
Parameters Value [out, retval] Value is a parameter of type DATE Value [in] Value is a parameter of type DATE
StartTime specifies the route's start time. This property is used in conjunction with the UseStartTime property which specifies if the start time is used or not. The allowable date range (for explicit dates) is 1/1/1901 through 12/31/9999.
To specify days of the week, use the following chart:
Interpreted Day | Specific Date to Pass to the Solver |
---|---|
Today | 12/30/1899 |
Sunday | 12/31/1899 |
Monday | 1/1/1900 |
Tuesday | 1/2/1900 |
Wednesday | 1/3/1900 |
Thursday | 1/4/1900 |
Friday | 1/5/1900 |
Saturday | 1/6/1900 |