Changeset 6036 for trunk/psLib/src/astro/psTime.h
- Timestamp:
- Jan 18, 2006, 10:59:32 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psTime.h (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.h
r5507 r6036 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.4 3$ $Name: not supported by cvs2svn $14 * @date $Date: 200 5-11-12 03:37:34$13 * @version $Revision: 1.44 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-01-18 20:59:31 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 76 76 * Reads config and data files associated with various time conversions. 77 77 * 78 * @return bool:True for success, false for failure.78 * @return bool: True for success, false for failure. 79 79 */ 80 80 psBool p_psTimeInit( … … 94 94 * Frees time data to be held in memory until the end of successful program execution. 95 95 * 96 * @return void:void.96 * @return void: void. 97 97 */ 98 98 psBool p_psTimeFinalize(void); … … 110 110 * of the struct are set to zero. 111 111 * 112 * @return psTime*:Struct with empty time.112 * @return psTime*: Struct with empty time. 113 113 */ 114 114 psTime* psTimeAlloc( … … 133 133 * (PS_TIME_TAI or PS_TIME_UTC) in the argument. 134 134 * 135 * @return psTime*:Struct with current time.135 * @return psTime*: Struct with current time. 136 136 */ 137 137 psTime* psTimeGetNow( … … 143 143 * Converts psTime to UTC, TAI, UT1, or TT time based on the psTimeType argument. 144 144 * 145 * @return psTime*:Pointer to psTime.145 * @return psTime*: Pointer to psTime. 146 146 */ 147 147 psTime* psTimeConvert( … … 155 155 * in UTC format, then it is converted. 156 156 * 157 * @return double:LST Time.157 * @return double: LST Time. 158 158 */ 159 159 double psTimeToLMST( … … 166 166 * This function is necessary to for various SLALIB functions. 167 167 * 168 * @return double:Time difference.168 * @return double: Time difference. 169 169 */ 170 170 double psTimeGetUT1Delta( … … 173 173 ); 174 174 175 /** Provides tidal corrections to UT1-UTC. 176 * 177 * Uses the Ray model of Simon et al. 178 * 179 * @return psTime*: The corrected time in UT1. 180 */ 181 psTime *psTime_TideUT1Corr( 182 const psTime *time ///< psTime to be corrected. 183 ); 184 175 185 /** Determine TAI - UTC from table lookup. 176 186 * 177 187 * This function is necessary to for various psTime functions. 178 188 * 179 * @return psF64:Time difference.189 * @return psF64: Time difference. 180 190 */ 181 191 psF64 p_psTimeGetTAIDelta( … … 187 197 * Determines the orientation of the polar axis at the given time. 188 198 * 189 * @return psSphere*:Spherical coordinates of Earth's polar axias.199 * @return psSphere*: Spherical coordinates of Earth's polar axias. 190 200 */ 191 201 psSphere* p_psTimeGetPoleCoords( … … 197 207 * Calculates the number of leapseconds between two times. 198 208 * 199 * @return long:leapseconds added between given times209 * @return long: leapseconds added between given times 200 210 */ 201 211 long psTimeLeapSecondDelta( … … 208 218 * Determines if the specified UTC time is a valid leapsecond. 209 219 * 210 * @return bool:valid leap second220 * @return bool: valid leap second 211 221 */ 212 222 bool psTimeIsLeapSecond( … … 219 229 * subtract leapseconds. 220 230 * 221 * @return double:Julian Date (JD) time.231 * @return double: Julian Date (JD) time. 222 232 */ 223 233 double psTimeToJD( … … 229 239 * add or subtract leapseconds. 230 240 * 231 * @return double:Modified Julian Days (MJD) time.241 * @return double: Modified Julian Days (MJD) time. 232 242 */ 233 243 double psTimeToMJD( … … 240 250 * This function does not add or subtract leapseconds. 241 251 * 242 * @return psString: Pointer null terminated array of chars in ISO time.252 * @return psString: Pointer null terminated array of chars in ISO time. 243 253 */ 244 254 psString psTimeToISO( … … 250 260 * Converts psTime to timeval time. This function does not add or subtract leapseconds. 251 261 * 252 * @return timeval*:timeval struct time.262 * @return timeval*: timeval struct time. 253 263 */ 254 264 struct timeval* psTimeToTimeval(
Note:
See TracChangeset
for help on using the changeset viewer.
