STK Vector Geometry ToolSend comments on this topic.
FindStartTime Method (IAgCrdnEventIntervalSmartInterval)
See Also
Windows





Windows & Linux

Description

Finds a start time of the interval. An exception is thrown if the start time cannot be determined from the interval's current state.

Syntax

[Visual Basic .NET]
Public Function FindStartTime() As System.Object
[C#]
public System.Object FindStartTime();
[Managed C++]
public: VARIANT FindStartTime();
[Unmanaged C++]
public: HRESULT FindStartTime(
    VARIANT * pRetVal
);
[Java]
public AgVariant findStartTime();
[Python - STK API ]
def FindStartTime(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)
© 2024 Analytical Graphics, Inc. All Rights Reserved.