aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/djcl.hlp
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /math/slalib/doc/djcl.hlp
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/slalib/doc/djcl.hlp')
-rw-r--r--math/slalib/doc/djcl.hlp34
1 files changed, 34 insertions, 0 deletions
diff --git a/math/slalib/doc/djcl.hlp b/math/slalib/doc/djcl.hlp
new file mode 100644
index 00000000..a6327c1d
--- /dev/null
+++ b/math/slalib/doc/djcl.hlp
@@ -0,0 +1,34 @@
+.help djcl Jun99 "Slalib Package"
+.nf
+
+ SUBROUTINE slDJCL (DJM, IY, IM, ID, FD, J)
+
+ - - - - -
+ D J C L
+ - - - - -
+
+ Modified Julian Date to Gregorian year, month, day,
+ and fraction of a day.
+
+ Given:
+ DJM dp modified Julian Date (JD-2400000.5)
+
+ Returned:
+ IY int year
+ IM int month
+ ID int day
+ FD dp fraction of day
+ J int status:
+ 0 = OK
+ -1 = unacceptable date (before 4701BC March 1)
+
+ 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