Description
Finds a stop time of the interval. An exception is thrown if the stop time cannot be determined from the interval's current state.
Syntax
| [Visual Basic .NET] |
|---|
Public Function FindStopTime() As System.Object
|
| [C#] |
|---|
public System.Object FindStopTime();
|
| [Managed C++] |
|---|
public: VARIANT FindStopTime();
|
| [Unmanaged C++] |
|---|
public: HRESULT FindStopTime(
VARIANT * pRetVal
);
|
| [Java] |
|---|
public AgVariant findStopTime();
|
| [Python - STK API] |
|---|
def FindStopTime(self) -> typing.Any:
|
See Also
Example
Convert the start and stop times of the interval into a time.
| [C#] |
|---|
smartInterval.SetStartTimeAndDuration("Now", "+100 day");
object startTime = smartInterval.FindStartTime();
object stopTime = smartInterval.FindStopTime();
Console.WriteLine("StartTime = {0}, StopTime = {1}", startTime, stopTime);
|
|
Convert the start and stop times of the interval into a time.
| [Visual Basic .NET] |
|---|
smartInterval.SetStartTimeAndDuration("Now", "+100 day")
Dim startTime As Object = smartInterval.FindStartTime()
Dim stopTime As Object = smartInterval.FindStopTime()
Console.WriteLine("StartTime = {0}, StopTime = {1}", startTime, stopTime)
|
|