Description
Sets explicit time instant and the smart epoch's state to Explicit.
Syntax
| [Visual Basic .NET] |
|---|
Public Sub SetExplicitTime( _
ByVal Epoch As System.Object _
)
|
| [C#] |
|---|
public void SetExplicitTime(
System.Object Epoch
);
|
| [Managed C++] |
|---|
public: void SetExplicitTime(
VARIANT Epoch
);
|
| [Unmanaged C++] |
|---|
public: HRESULT SetExplicitTime(
VARIANT Epoch
);
|
| [Java] |
|---|
public void setExplicitTime(
AgVariant Epoch
);
|
| [Python - STK API] |
|---|
def SetExplicitTime(self, Epoch:typing.Any) -> None:
|
Parameters
See Also
Example
Create and configure explicit smart epoch event.
| [C#] |
|---|
IAgCrdnEventSmartEpoch smartEpoch = provider.Events.Factory.CreateSmartEpochFromTime("1 May 2016 04:00:00.000");
// Smart epochs can be set explicitly (Uses current DateTime unit preference, this code snippet assumes UTCG)
smartEpoch.SetExplicitTime("1 May 2015 01:00:00.000");
Console.WriteLine("Event occurred at: " + smartEpoch.TimeInstant);
|
|
Create and configure explicit smart epoch event.
| [Visual Basic .NET] |
|---|
Dim smartEpoch As IAgCrdnEventSmartEpoch = provider.Events.Factory.CreateSmartEpochFromTime("1 May 2016 04:00:00.000")
' Smart epochs can be set explicitly (Uses current DateTime unit preference, this code snippet assumes UTCG)
smartEpoch.SetExplicitTime("1 May 2015 01:00:00.000")
Console.WriteLine("Event occurred at: " + smartEpoch.TimeInstant)
|
|