Changeset 136 for trunk/SRC/Calendar/caldat.pro
- Timestamp:
- 07/10/06 17:20:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Calendar/caldat.pro
r134 r136 2 2 ; 3 3 ; @file_comments 4 ; Return the calendar date and time given julian date.5 ; 4 ; Return the calendar date and time given Julian date. 5 ; This is the inverse of the function JULDAY. 6 6 ; 7 7 ; @categories Calendar 8 8 ; 9 ; 10 ; @param JULIAN {in}{required} contains the Julian Day Number (which begins at noon) of the 11 ; specified calendar date. It should be a long integer. 12 ; 13 ; @param MONTH {out} Number of the desired month (1 = January, ..., 12 = December). 14 ; 15 ; @param DAY {out} Number of day of the month. 16 ; 17 ; @param YEAR {out} Number of the desired year. 18 ; 19 ; @param HOUR {out} Hour of the day 20 ; 21 ; @param Minute {out} Minute of the day 22 ; 23 ; @param Second {out} Second (and fractions) of the day. 24 ; 25 ; 26 ; @keyword NDAYSPM {default=30} for using a calendar with fixed number of days per 27 ; months. 9 ; @param JULIAN {in}{required} 10 ; contains the Julian Day Number (which begins at noon) of the 11 ; specified calendar date. It should be a long integer. 12 ; 13 ; @param MONTH {out} 14 ; Number of the desired month (1 = January, ..., 12 = December). 15 ; 16 ; @param DAY {out} 17 ; Number of day of the month. 18 ; 19 ; @param YEAR {out} 20 ; Number of the desired year. 21 ; 22 ; @param HOUR {out} 23 ; Hour of the day 24 ; 25 ; @param Minute {out} 26 ; Minute of the day 27 ; 28 ; @param Second {out} 29 ; Second (and fractions) of the day. 30 ; 31 ; @keyword NDAYSPM {default=30} 32 ; for using a calendar with fixed number of days per months. 28 33 ; 29 34 ; @uses cm_4cal 30 35 ; 31 ; 32 ; @restrictions Accuracy using IEEE double precision numbers is approximately 33 ; 1/10000th of a second. 34 ; 35 ; @history Translated from "Numerical Recipies in C", by William H. Press, 36 ; Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling. 37 ; Cambridge University Press, 1988 (second printing). 38 ; 39 ; DMS, July 1992. 40 ; DMS, April 1996, Added HOUR, MINUTE and SECOND keyword 41 ; AB, 7 December 1997, Generalized to handle array input. 42 ; 43 ; Eric Guilyardi, June 1999 44 ; Added key_work ndayspm for fixed number of days per months 45 ; 46 ; AB, 3 January 2000, Make seconds output as DOUBLE in array output. 36 ; @restrictions 37 ; Accuracy using IEEE double precision numbers is approximately 1/10000th of a 38 ; second. 39 ; 40 ; @history 41 ; Translated from "Numerical Recipes in C", by William H. Press, 42 ; Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling. 43 ; Cambridge University Press, 1988 (second printing). 44 ; 45 ; DMS, July 1992. 46 ; DMS, April 1996, Added HOUR, MINUTE and SECOND keyword 47 ; AB, 7 December 1997, Generalized to handle array input. 48 ; 49 ; Eric Guilyardi, June 1999 50 ; Added key_work ndayspm for fixed number of days per months 51 ; 52 ; AB, 3 January 2000, Make seconds output as DOUBLE in array output. 47 53 ; 48 54 ; @version $Id$
Note: See TracChangeset
for help on using the changeset viewer.