Changeset 6269
- Timestamp:
- Jan 31, 2006, 2:17:44 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/astro/psTime.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r6268 r6269 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.8 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-0 1-31 23:24:21$12 * @version $Revision: 1.81 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-02-01 00:17:44 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1498 1498 // Check for NULL string 1499 1499 PS_ASSERT_PTR_NON_NULL(input,NULL); 1500 PS_ASSERT_INT_WITHIN_RANGE(type, PS_TIME_TAI, PS_TIME_TT, NULL); 1500 1501 1501 1502 // Convert YYYY-MM-DDThh:mm:ss.sss in string form to tm time … … 1521 1522 outTime = p_psTimeFromTM(&tmTime); 1522 1523 outTime->nsec = millisecond * 1000000; 1523 outTime->type = type; 1524 // outTime->type = type; 1525 if (type != PS_TIME_TAI) { 1526 outTime = psTimeConvert(outTime, type); 1527 } 1524 1528 1525 1529 return outTime;
Note:
See TracChangeset
for help on using the changeset viewer.
