Changeset 2301 for trunk/psLib/src/astro/psTime.h
- Timestamp:
- Nov 8, 2004, 2:36:13 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psTime.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.h
r2204 r2301 54 54 * @author Ross Harman, MHPCC 55 55 * 56 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $57 * @date $Date: 2004-1 0-27 00:57:30$56 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 57 * @date $Date: 2004-11-09 00:36:13 $ 58 58 * 59 59 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 94 94 typedef struct psTime 95 95 { 96 psS64 sec; ///< Seconds since epoch, Jan 1, 1970.97 psU32 usec; ///< Microseconds since last second.98 psTimeType type; ///< Type of time.96 psS64 sec; ///< Seconds since epoch, Jan 1, 1970. 97 psU32 usec; ///< Microseconds since last second. 98 psTimeType type; ///< Type of time. 99 99 } 100 100 psTime; 101 102 103 /** Initialize time data. 104 * 105 * Reads config and data files associated with various time conversions. 106 * 107 * @return bool: True for success, false for failure. 108 */ 109 bool psTimeInit(char *fileName); 110 111 /** Free memory persistant time data. 112 * 113 * Frees time data to be held in memory until the end of successful program execution. 114 * 115 * @return void: void. 116 */ 117 void psTimeFinalize(void); 101 118 102 119 /** Allocate time struct. … … 179 196 * Calculates the number of leapseconds between two times. 180 197 * 181 * @return long: leapseconds added between given times198 * @return psS64: leapseconds added between given times 182 199 */ 183 200 psS64 psTimeLeapseconds(
Note:
See TracChangeset
for help on using the changeset viewer.
