AGI AgAccessConstraintPlugin 11 Send comments on this topic.
DateElements Method (IAgAccessConstraintPluginResultEval)
See Also 
Scale
Year
DayOfYear
Month
DayOfMonth
Hour
Minute
Seconds
Windows






Windows & Linux

Description

The current time of the object in requested time scale expressed in date format. Year [yyyy], DayOfYear [1-366], Month [1-12], DayOfMonth [1-31], Hour [0-23], Minute [0-59], Seconds [0-60].

Syntax

[Visual Basic .NET]
Public Sub DateElements( _
   ByVal Scale As AgEUtTimeScale, _
   ByRef Year As Integer, _
   ByRef DayOfYear As Integer, _
   ByRef Month As Integer, _
   ByRef DayOfMonth As Integer, _
   ByRef Hour As Integer, _
   ByRef Minute As Integer, _
   ByRef Seconds As Double _
) 

[C#]
public void DateElements(
AgEUtTimeScale Scale,
ref int Year,
ref int DayOfYear,
ref int Month,
ref int DayOfMonth,
ref int Hour,
ref int Minute,
ref double Seconds
);

[Managed C++]
public: void DateElements(
AgEUtTimeScale Scale,
int ^ Year,
int ^ DayOfYear,
int ^ Month,
int ^ DayOfMonth,
int ^ Hour,
int ^ Minute,
double ^ Seconds
);

[Java]
public  dateElements(
AgEUtTimeScale Scale,
int Year,
int DayOfYear,
int Month,
int DayOfMonth,
int Hour,
int Minute,
double Seconds
);

[Unmanaged C++]
public: HRESULT DateElements(
AgEUtTimeScale Scale,
long * Year,
long * DayOfYear,
long * Month,
long * DayOfMonth,
long * Hour,
long * Minute,
double * Seconds
);

Parameters

Scale
Member Value Description
eUtTimeScaleUTC 0  
eUtTimeScaleTAI 1  
eUtTimeScaleTDT 2  
eUtTimeScaleUT1 3  
eUtTimeScaleSTKEpochSec 4  
eUtTimeScaleTDB 5  
eUtTimeScaleGPS 6  
Year
DayOfYear
Month
DayOfMonth
Hour
Minute
Seconds

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface