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/node34.html | 129 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 src/slalib/sun67.htx/node34.html (limited to 'src/slalib/sun67.htx/node34.html') diff --git a/src/slalib/sun67.htx/node34.html b/src/slalib/sun67.htx/node34.html new file mode 100644 index 0000000..266f38a --- /dev/null +++ b/src/slalib/sun67.htx/node34.html @@ -0,0 +1,129 @@ + + + + +SLA_CLYD - Calendar to Year, Day + + + + + + + + + + + + +

+ +next + +up + +previous +
+ Next: SLA_COMBN - Next Combination +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_CLDJ - Calendar to MJD +

+

+

SLA_CLYD - Calendar to Year, Day +   +

+
+
ACTION: +
Gregorian calendar date to year and day in year, in a Julian +calendar aligned to the 20th/21st century Gregorian calendar. +

CALL: +
CALL sla_CLYD (IY, IM, ID, NY, ND, J) +

+

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

+
RETURNED: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NYIyear (re-aligned Julian calendar)
NDIday in year (1 = January 1st)
JIstatus:
0 = OK
1 = bad year (before -4711)
2 = bad month
3 = bad day
+

+
NOTES: +
+
1. +
The purpose of sla_CLYD is to support sla_EARTH, +sla_MOON and sla_ECOR. +
2. +
Between 1900 March 1 and 2100 February 28 it returns answers + which are consistent with the ordinary Gregorian calendar. + Outside this range there will be a discrepancy which increases + by one day for every non-leap century year. +
3. +
When an invalid year or month is supplied (status J = 1 or J = 2) + the results are not computed. When a day is + supplied which is outside the conventional range (status J = 3) + the results are computed. +
+

+ +next + +up + +previous +
+ Next: SLA_COMBN - Next Combination +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_CLDJ - Calendar to MJD +

+

+

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