topcaldat
Calendar
Parameters
julian
in
required
type: long integer or double-precision floating-point
month
out
type: longword integer
day
out
type: longword integer
year
out
type: longword integer
hour
out
type: longword integer
minute
out
type: longword integer
second
out
type: double-precision floating-point
Keywords
NDAYSPM
type: integer
default: 30
Version history
Version
$Id: caldat.pro 327 2007-12-13 16:22:35Z pinsard $
History
Translated from "Numerical Recipes in C", by William H. Press,
Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling.
Cambridge University Press, 1988 (second printing).
DMS, July 1992.
DMS, April 1996, Added HOUR, MINUTE and SECOND keyword
AB, 7 December 1997, Generalized to handle array input.
Eric Guilyardi, June 1999
Added key_work ndayspm for fixed number of days per months
AB, 3 January 2000, Make seconds output as DOUBLE in array output.
Sebastien Masson, May 2006, add different calendar with key_caltype
(variable of the common file cm_4cal)
Known issues
Restrictions
Accuracy using IEEE double precision numbers is approximately 1/10000th of a
second.
Other attributes
Uses routines
cm_4cal
Statistics
McCabe cyclic | 21 |
McCabe essential | 1 |
McCabe modular design | 1 |