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/node58.html | 112 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 src/slalib/sun67.htx/node58.html (limited to 'src/slalib/sun67.htx/node58.html') diff --git a/src/slalib/sun67.htx/node58.html b/src/slalib/sun67.htx/node58.html new file mode 100644 index 0000000..78f70fa --- /dev/null +++ b/src/slalib/sun67.htx/node58.html @@ -0,0 +1,112 @@ + + + + +SLA_DJCAL - MJD to Gregorian for Output + + + + + + + + + + + + +

+ +next + +up + +previous +
+ Next: SLA_DJCL - MJD to Year,Month,Day,Frac +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_DIMXV - Apply 3D Reverse Rotation +

+

+

SLA_DJCAL - MJD to Gregorian for Output +   +

+
+
ACTION: +
Modified Julian Date to Gregorian Calendar Date, expressed +in a form convenient for formatting messages (namely + rounded to a specified precision, and with the fields + stored in a single array). +

CALL: +
CALL sla_DJCAL (NDP, DJM, IYMDF, J) +

+

+
GIVEN: +
+
+ + + + + + + + + +
NDPInumber of decimal places of days in fraction
DJMDmodified Julian Date (JD-2400000.5)
+

+
RETURNED: +
+
+ + + + + + + + + +
IYMDFI(4)year, month, day, fraction in Gregorian calendar
JIstatus: nonzero = out of range
+

+
NOTES: +
+
1. +
Any date after 4701BC March 1 is accepted. +
2. +
NDP should be 4 or less to avoid overflow on machines which +use 32-bit integers. +
+

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

+ +next + +up + +previous +
+ Next: SLA_DJCL - MJD to Year,Month,Day,Frac +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_DIMXV - Apply 3D Reverse Rotation +

+

+

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