AGI AgAsHpopPlugin 11 Send comments on this topic.
RefEpoch Method (IAgAsHpopPluginResult)
See Also 
Scale
Requested time scale
WholeDays
Number of whole days in the time scale of the reference epoch
SecsIntoDay
Seconds into the day of the reference epoch
Year
Value of Year, in requested time scale, of the reference epoch
DayOfYear
The number of days into the year, in requested time scale, of the reference epoch
Month
Value of Month, in requested time scale, of the reference epoch (0-11)
Hour
Value of Hour, in requested time scale, of the reference epoch (0-23)
Minute
Value of Minute, in requested time scale, of the reference epoch (0-59)
Seconds
Value of Seconds, in requested time scale, of the reference epoch (0.0-60)





Description

DEPRECATED. Use RefEpochElements instead. Reference epoch expressed in day count and date formats.

Syntax

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

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

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

[Java]
public  refEpoch(
AgEUtTimeScale Scale,
int WholeDays,
double SecsIntoDay,
int Year,
int DayOfYear,
int Month,
int Hour,
int Minute,
double Seconds
);

[Unmanaged C++]
public: HRESULT RefEpoch(
AgEUtTimeScale Scale,
long * WholeDays,
double * SecsIntoDay,
long * Year,
long * DayOfYear,
long * Month,
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  
Requested time scale
WholeDays
Number of whole days in the time scale of the reference epoch
SecsIntoDay
Seconds into the day of the reference epoch
Year
Value of Year, in requested time scale, of the reference epoch
DayOfYear
The number of days into the year, in requested time scale, of the reference epoch
Month
Value of Month, in requested time scale, of the reference epoch (0-11)
Hour
Value of Hour, in requested time scale, of the reference epoch (0-23)
Minute
Value of Minute, in requested time scale, of the reference epoch (0-59)
Seconds
Value of Seconds, in requested time scale, of the reference epoch (0.0-60)

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1