From d54fe7c1f704a63824c5bfa0ece65245572e9b27 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 4 Mar 2015 21:21:30 -0500 Subject: Initial commit --- src/slalib/sun67.htx/node33.html | 128 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) create mode 100644 src/slalib/sun67.htx/node33.html (limited to 'src/slalib/sun67.htx/node33.html') diff --git a/src/slalib/sun67.htx/node33.html b/src/slalib/sun67.htx/node33.html new file mode 100644 index 0000000..556eb23 --- /dev/null +++ b/src/slalib/sun67.htx/node33.html @@ -0,0 +1,128 @@ + + + + +SLA_CLDJ - Calendar to MJD + + + + + + + + + + + + +

+ +next + +up + +previous +
+ Next: SLA_CLYD - Calendar to Year, Day +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_CD2TF - Days to Hour,Min,Sec +

+

+

SLA_CLDJ - Calendar to MJD +   +

+
+
ACTION: +
Gregorian Calendar to Modified Julian Date. +
CALL: +
CALL sla_CLDJ (IY, IM, ID, DJM, J) +

+

+
GIVEN: +
+
+ + + + + +
IY,IM,IDIyear, month, day in Gregorian calendar
+

+
RETURNED: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
DJMDmodified Julian Date (JD-2400000.5) for $0^{\rm h}$
JIstatus:
0 = OK
1 = bad year
2 = bad month
3 = bad day
+

+
NOTES: +
+
1. +
When an invalid year or month is supplied (status J = 1 or 2) +the MJD is not computed. When an invalid day is supplied +(status J = 3) the MJD is computed. +
2. +
The year must be -4699 (i.e. 4700BC) or later. + For year nBC use IY = -(n-1). +
3. +
An alternative to the present routine is sla_CALDJ, which + accepts a year with the century missing. +
+

+
REFERENCE: +
The algorithm is derived from that of Hatcher, +Q.Jl.R.astr.Soc. (1984) 25, 53-55. +
+

+ +next + +up + +previous +
+ Next: SLA_CLYD - Calendar to Year, Day +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_CD2TF - Days to Hour,Min,Sec +

+

+

+SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
12 October 1999
E-mail:ptw@star.rl.ac.uk
+
+ + -- cgit