SofaCal2jd Method
Convert calendar date to 2-part Julian Date.
Namespace: ASCOM.ToolsAssembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
public static int Cal2jd(
int iy,
int im,
int id,
ref double djm0,
ref double djm
)
Public Shared Function Cal2jd (
iy As Integer,
im As Integer,
id As Integer,
ByRef djm0 As Double,
ByRef djm As Double
) As Integer
- iy Int32
- Year in Gregorian calendar.
- im Int32
- Month in Gregorian calendar.
- id Int32
- Day in Gregorian calendar.
- djm0 Double
- Returned Julian Date zero-point (MJD convention).
- djm Double
- Returned Modified Julian Date for the supplied calendar date.
Int32Status code: 0 = OK, <0 = error.
This is a P/Invoke wrapper for the SOFA iauCal2jd routine.
Supported in: 2.0