Changeset 753 for trunk/archive/pslib/include/psDateTime.h
- Timestamp:
- May 20, 2004, 6:12:37 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/archive/pslib/include/psDateTime.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/archive/pslib/include/psDateTime.h
r396 r753 1 1 #if !defined(PS_DATE_TIME_H) 2 2 #define PS_DATE_TIME_H 3 4 #include "taia.h" 3 5 4 6 /** \file psDateTime.h … … 19 21 definition. */ 20 22 typedef struct { 21 long numSeconds; ///< Number of seconds from some defined epoch 22 double fracSeconds; ///< Fraction of seconds 23 struct taia t; 23 24 } psTime; 24 25 … … 52 53 /** Convert psTime to JD */ 53 54 double 54 psTimeToJD (psTime time) ///< Input psTime time55 psTimeToJD (psTime time) ///< Input psTime time 55 56 ; 56 57 … … 61 62 62 63 /** Convert psTime to broken-down time (struct tm) */ 63 struct tm * 64 psTimeToTm (psTime time) ///< Input psTime time 64 struct tm * 65 psTimeToTm (psTime time) ///< Input psTime time 66 ; 67 68 /** Convert psTime to lunation number */ 69 float 70 psTimeToLunation (psTime time) ///< Input psTime time 65 71 ; 66 72 … … 86 92 ; 87 93 88 /** Convert timeval to psTime (struct timeval)*/94 /** Convert timeval (struct timeval) to psTime */ 89 95 psTime * 90 96 psTimevalToTime (struct timeval *input) ///< Input timeval time 91 97 ; 92 98 93 /** Convert broken- to psTime down time (struct tm)*/99 /** Convert broken-down time (struct tm) to psTime */ 94 100 psTime * 95 psTMtoTime (struct tm *input) ///< Input tm time 101 psTMToTime (struct tm *input) ///< Input tm time 102 ; 103 104 /** Convert lunation number to psTime */ 105 psTime * 106 psLunationToTime (float lunation) ///< Input lunation 96 107 ; 97 108
Note:
See TracChangeset
for help on using the changeset viewer.
