SofaJd2cal Method

Convert JD pair to calendar date.

Definition

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

Parameters

dj1  Double
First part of the Julian Date.
dj2  Double
Second part of the Julian Date.
iy  Int32
Returned year in Gregorian calendar.
im  Int32
Returned month in Gregorian calendar.
id  Int32
Returned day in Gregorian calendar.
fd  Double
Returned fraction of the day.

Return Value

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

Remarks

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

Version Information

.NET Standard

Supported in: 2.0

See Also