SofaCal2jd Method

Convert calendar date to 2-part Julian Date.

Definition

Namespace: ASCOM.Tools
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public static int Cal2jd(
	int iy,
	int im,
	int id,
	ref double djm0,
	ref double djm
)

Parameters

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.

Return Value

Int32
Status code: 0 = OK, <0 = error.

Remarks

This is a P/Invoke wrapper for the SOFA iauCal2jd routine.

Version Information

.NET Standard

Supported in: 2.0

See Also