Changeset 4162 for trunk/psLib/src/astro/psTime.h
- Timestamp:
- Jun 8, 2005, 1:40:46 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psTime.h (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.h
r4051 r4162 1 1 /** @file psTime.h 2 2 * 3 * @brief Definitions for time, time utilities, and conversion functions for use 3 * @brief Definitions for time, time utilities, and conversion functions for use 4 4 * with psLib astronomy functions. 5 5 * 6 * A collection of functions are required by psLib to manipulate time data. These 7 * functions primarily consist of conversions between specific time formats. They 8 * use the UNIX timeval time system as the base upon which International Atomic 6 * A collection of functions are required by psLib to manipulate time data. These 7 * functions primarily consist of conversions between specific time formats. They 8 * use the UNIX timeval time system as the base upon which International Atomic 9 9 * Time (TAI) and Universal Time Coordinated (UTC) are calculated. 10 10 * 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 5-31 21:47:46$13 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-08 23:40:45 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 88 88 /** Allocate time struct. 89 89 * 90 * Allocates an empty time struct. User must specify the psTimeType 91 * (PS_TIME_TAI or PS_TIME_UTC) in the argument. The seconds and microseconds members 90 * Allocates an empty time struct. User must specify the psTimeType 91 * (PS_TIME_TAI or PS_TIME_UTC) in the argument. The seconds and microseconds members 92 92 * of the struct are set to zero. 93 93 * … … 100 100 /** Get current time. 101 101 * 102 * Gets current time from the system clock. User must specify the psTimeType 102 * Gets current time from the system clock. User must specify the psTimeType 103 103 * (PS_TIME_TAI or PS_TIME_UTC) in the argument. 104 104 * … … 122 122 /** Convert psTime to Local Mean Sidereal Time (LMST). 123 123 * 124 * Converts psTime at the given longitude to LMST time. If the input time is not 124 * Converts psTime at the given longitude to LMST time. If the input time is not 125 125 * in UTC format, then it is converted. 126 126 * … … 186 186 /** Convert psTime to Julian date time. 187 187 * 188 * Converts psTime to Julian date (JD) time. This function does not add or 188 * Converts psTime to Julian date (JD) time. This function does not add or 189 189 * subtract leapseconds. 190 190 * … … 196 196 /** Convert psTime to modified Julian date time. 197 197 * 198 * Converts psTime to modified Julian date (MJD) time. This function does not 198 * Converts psTime to modified Julian date (MJD) time. This function does not 199 199 * add or subtract leapseconds. 200 200 * … … 207 207 /** Convert psTime to ISO8601 formatted string. 208 208 * 209 * Converts psTime to a null terminated string in the form of YYYY-MM-DDThh:mm:ss.sss. 209 * Converts psTime to a null terminated string in the form of YYYY-MM-DDThh:mm:ss.sss. 210 210 * This function does not add or subtract leapseconds. 211 211 * … … 229 229 * Convert psTime to tm time. 230 230 * 231 * Converts psTime to tm time. This function is based on a Perl algorithm availble 232 * in the Pan-STARRS Image processing Algorithm Design Description (ADD). This function 231 * Converts psTime to tm time. This function is based on a Perl algorithm availble 232 * in the Pan-STARRS Image processing Algorithm Design Description (ADD). This function 233 233 * does not add or subtract leapseconds. 234 234 * … … 304 304 /** Convert tm time to psTime. 305 305 * 306 * Converts tm time to psTime. This function is based on a Perl algorithm availble 307 * in the Pan-STARRS Image processing Algorithm Design Description (ADD). This function 306 * Converts tm time to psTime. This function is based on a Perl algorithm availble 307 * in the Pan-STARRS Image processing Algorithm Design Description (ADD). This function 308 308 * does not add or subtract leapseconds. 309 309 * … … 346 346 /// @} 347 347 348 #endif 348 #endif // #ifndef PSTIME_H
Note:
See TracChangeset
for help on using the changeset viewer.
