diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2015-08-11 16:51:37 -0400 |
commit | 40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch) | |
tree | 4464880c571602d54f6ae114729bf62a89518057 /math/slalib/doc/djcal.hlp | |
download | iraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz |
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/slalib/doc/djcal.hlp')
-rw-r--r-- | math/slalib/doc/djcal.hlp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/math/slalib/doc/djcal.hlp b/math/slalib/doc/djcal.hlp new file mode 100644 index 00000000..d65c81bd --- /dev/null +++ b/math/slalib/doc/djcal.hlp @@ -0,0 +1,38 @@ +.help djcal Jun99 "Slalib Package" +.nf + + SUBROUTINE slDJCA (NDP, DJM, IYMDF, J) + + - - - - - - + D J C A + - - - - - - + + Modified Julian Date to Gregorian Calendar, expressed + in a form convenient for formatting messages (namely + rounded to a specified precision, and with the fields + stored in a single array) + + Given: + NDP i number of decimal places of days in fraction + DJM d modified Julian Date (JD-2400000.5) + + Returned: + IYMDF i(4) year, month, day, fraction in Gregorian + calendar + J i status: nonzero = out of range + + Any date after 4701BC March 1 is accepted. + + NDP should be 4 or less if internal overflows are to be avoided + on machines which use 32-bit integers. + + The algorithm is derived from that of Hatcher 1984 + (QJRAS 25, 53-55). + + P.T.Wallace Starlink 27 April 1998 + + Copyright (C) 1998 Rutherford Appleton Laboratory + Copyright (C) 1995 Association of Universities for Research in Astronomy Inc. + +.fi +.endhelp |