Changeset 9665 for trunk/psLib/src/astro/psTime.c
- Timestamp:
- Oct 19, 2006, 2:17:21 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psTime.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r8776 r9665 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.9 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2006- 09-08 02:33:23$12 * @version $Revision: 1.98 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-10-20 00:17:21 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1302 1302 PS_ASSERT_INT_WITHIN_RANGE(time->nsec,0,(psU32)((1e9)-1),NAN); 1303 1303 1304 psTime *time2 = p _psTimeCopy(time);1304 psTime *time2 = psTimeCopy(time); 1305 1305 //XXX: ADD says that this formula works only for PS_TIME_TAI, so adding the following: 1306 1306 if (time->type == PS_TIME_UTC || time->type == PS_TIME_TT) { … … 1328 1328 PS_ASSERT_PTR_NON_NULL(time,NAN); 1329 1329 PS_ASSERT_INT_WITHIN_RANGE(time->nsec,0,(psU32)((1e9)-1),NAN); 1330 psTime *time2 = p _psTimeCopy(time);1330 psTime *time2 = psTimeCopy(time); 1331 1331 //XXX: ADD says that this formula works only for PS_TIME_TAI, so adding the following: 1332 1332 if (time->type == PS_TIME_UTC || time->type == PS_TIME_TT) { … … 1861 1861 } 1862 1862 1863 psTime *p _psTimeCopy(const psTime *inTime)1863 psTime *psTimeCopy(const psTime *inTime) 1864 1864 { 1865 1865 PS_ASSERT_PTR_NON_NULL(inTime, NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
