Changeset 4330 for trunk/psLib/src/astronomy/psTime.h
- Timestamp:
- Jun 20, 2005, 5:01:37 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astronomy/psTime.h (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astronomy/psTime.h
r4293 r4330 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 1$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06- 17 00:10:59$13 * @version $Revision: 1.32 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-21 03:01:37 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 127 127 * in UTC format, then it is converted. 128 128 * 129 * @return psF64: LST Time.130 */ 131 psF64psTimeToLMST(132 psTime *time, ///< psTime to be converted.133 psF64longitude ///< Longitude.129 * @return double: LST Time. 130 */ 131 double psTimeToLMST( 132 psTime *time, ///< psTime to be converted. 133 double longitude ///< Longitude. 134 134 ); 135 135 … … 138 138 * This function is necessary to for various SLALIB functions. 139 139 * 140 * @return psF64: Time difference.141 */ 142 psF64psTimeGetUT1Delta(140 * @return double: Time difference. 141 */ 142 double psTimeGetUT1Delta( 143 143 const psTime *time, ///< psTime to be looked up. 144 144 psTimeBulletin bulletin ///< IERS bulletin to use … … 169 169 * Calculates the number of leapseconds between two times. 170 170 * 171 * @return psS64: leapseconds added between given times172 */ 173 psS64psTimeLeapSecondDelta(174 const psTime* time1, ///< First input time.175 const psTime* time2 ///< Second input time.171 * @return long: leapseconds added between given times 172 */ 173 long psTimeLeapSecondDelta( 174 const psTime* time1, ///< First input time. 175 const psTime* time2 ///< Second input time. 176 176 ); 177 177 … … 180 180 * Determines if the specified UTC time is a valid leapsecond. 181 181 * 182 * @return psBool: valid leap second183 */ 184 psBool psTimeIsLeapSecond(182 * @return bool: valid leap second 183 */ 184 bool psTimeIsLeapSecond( 185 185 const psTime* utc ///< UTC to verify if leap second 186 186 ); … … 191 191 * subtract leapseconds. 192 192 * 193 * @return psF64: Julian Date (JD) time.194 */ 195 psF64psTimeToJD(196 const psTime* time ///< Input time to be converted.193 * @return double: Julian Date (JD) time. 194 */ 195 double psTimeToJD( 196 const psTime* time ///< Input time to be converted. 197 197 ); 198 198 /** Convert psTime to modified Julian date time. … … 201 201 * add or subtract leapseconds. 202 202 * 203 * @return psF64: Modified Julian Days (MJD) time.204 */ 205 psF64psTimeToMJD(203 * @return double: Modified Julian Days (MJD) time. 204 */ 205 double psTimeToMJD( 206 206 const psTime* time ///< Input time to be converted. 207 207 ); … … 248 248 */ 249 249 psTime* psTimeFromJD( 250 psF64 time///< Input time to be converted.250 double jd ///< Input time to be converted. 251 251 ); 252 252 … … 258 258 */ 259 259 psTime* psTimeFromMJD( 260 psF64 time///< Input time to be converted.260 double mjd ///< Input time to be converted. 261 261 ); 262 262 … … 268 268 */ 269 269 psTime* psTimeFromISO( 270 const char* time ///< Input time to be converted.270 const char* time ///< Input time to be converted. 271 271 ); 272 272 … … 278 278 */ 279 279 psTime* psTimeFromTimeval( 280 const struct timeval *time ///< Input time to be converted.280 const struct timeval *time ///< Input time to be converted. 281 281 ); 282 282 … … 288 288 */ 289 289 psTime* psTimeFromTT( 290 psS64 sec, ///< Input terrestrial time in seconds291 psU32 nsec ///< Input terrestrial time fraction of seconds (nanoseconds)290 psS64 sec, ///< Input terrestrial time in seconds 291 psU32 nsec ///< Input terrestrial time fraction of seconds (nanoseconds) 292 292 ); 293 293 … … 299 299 */ 300 300 psTime* psTimeFromUTC( 301 psS64 sec, ///< Input time in seconds302 psU32 nsec, ///< Input time fraction of seconds (nanoseconds)303 psBool leapsecond///< Input time is a leapsecond301 psS64 sec, ///< Input time in seconds 302 psU32 nsec, ///< Input time fraction of seconds (nanoseconds) 303 bool leapsecond ///< Input time is a leapsecond 304 304 ); 305 305 … … 313 313 */ 314 314 psTime* p_psTimeFromTM( 315 const struct tm *time ///< Input time to be converted.315 const struct tm *time ///< Input time to be converted. 316 316 ); 317 317 … … 323 323 */ 324 324 psTime* psTimeMath( 325 const psTime *time, ///< Time.326 psF64 delta///< Time delta.325 const psTime *time, ///< Time. 326 double delta ///< Time delta. 327 327 ); 328 328 … … 331 331 * Determine difference between two times. Input times are converted to TAI format if necessary. 332 332 * 333 * @return psF64: Time difference.334 */ 335 psF64psTimeDelta(336 const psTime *time1, ///< First time.337 const psTime *time2 ///< Second time.333 * @return double: Time difference. 334 */ 335 double psTimeDelta( 336 const psTime *time1, ///< First time. 337 const psTime *time2 ///< Second time. 338 338 ); 339 339
Note:
See TracChangeset
for help on using the changeset viewer.
