aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/doc/cldj.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/cldj.hlp
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'math/slalib/doc/cldj.hlp')
-rw-r--r--math/slalib/doc/cldj.hlp34
1 files changed, 34 insertions, 0 deletions
diff --git a/math/slalib/doc/cldj.hlp b/math/slalib/doc/cldj.hlp
new file mode 100644
index 00000000..3f65adb1
--- /dev/null
+++ b/math/slalib/doc/cldj.hlp
@@ -0,0 +1,34 @@
+.help cldj Jun99 "Slalib Package"
+.nf
+
+ SUBROUTINE slCLDJ (IY, IM, ID, DJM, J)
+
+ - - - - -
+ C L D J
+ - - - - -
+
+ Gregorian Calendar to Modified Julian Date
+
+ Given:
+ IY,IM,ID int year, month, day in Gregorian calendar
+
+ Returned:
+ DJM dp modified Julian Date (JD-2400000.5) for 0 hrs
+ J int status:
+ 0 = OK
+ 1 = bad year (MJD not computed)
+ 2 = bad month (MJD not computed)
+ 3 = bad day (MJD computed)
+
+ The year must be -4699 (i.e. 4700BC) or later.
+
+ The algorithm is derived from that of Hatcher 1984
+ (QJRAS 25, 53-55).
+
+ P.T.Wallace Starlink 11 March 1998
+
+ Copyright (C) 1998 Rutherford Appleton Laboratory
+ Copyright (C) 1995 Association of Universities for Research in Astronomy Inc.
+
+.fi
+.endhelp