AGI AgAsHpopPlugin 6 Send comments on this topic.
DayCount Method (IAgAsHpopPluginResultEval)
See Also 
Scale
Requested time scale
WholeDays
Number of whole days in the time scale of the current time
SecsIntoDay
Seconds into the day of the current time
Windows








Description

Current epoch in requested time scale expressed in day format.

Syntax

[Visual Basic .NET]
Public Sub DayCount( _
   ByVal Scale As AgEUtTimeScale, _
   ByRef WholeDays As Integer, _
   ByRef SecsIntoDay As Double _
) 

[C#]
public void DayCount(
AgEUtTimeScale Scale,
ref int WholeDays,
ref double SecsIntoDay
);

[Managed C++]
public: void DayCount(
AgEUtTimeScale Scale,
int ^ WholeDays,
double ^ SecsIntoDay
);

[Unmanaged C++]
public: HRESULT DayCount(
AgEUtTimeScale Scale,
long * WholeDays,
double * SecsIntoDay
);

[VBScript]
DayCount not supported by VBScript (VBScript does not support ByRef arguments in COM)

[Perl]
$objectReference->DayCount(
$Scale, # type AgEUtTimeScale (scalar integer)
$WholeDays, # type Variant (VT_I4 | VT_BYREF)
$SecsIntoDay# type Variant (VT_R8 | VT_BYREF)
);

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 current time
SecsIntoDay
Seconds into the day of the current time

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5