Changeset 3708 for trunk/psLib/test/astronomy/tst_psTime_01.c
- Timestamp:
- Apr 18, 2005, 2:17:06 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psTime_01.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psTime_01.c
r3706 r3708 18 18 * M) Convert psTime to tm time 19 19 * N) Convert tm time to psTime 20 * O) Convert psTime time to L ST20 * O) Convert psTime time to LMST 21 21 * P) Free data 22 22 * 23 23 * @author Ross Harman, MHPCC 24 24 * 25 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $26 * @date $Date: 2005-04-1 8 23:40:15$25 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 26 * @date $Date: 2005-04-19 00:17:06 $ 27 27 * 28 28 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 202 202 203 203 204 // Test O - psTime to L ST204 // Test O - psTime to LMST 205 205 printPositiveTestHeader(stdout, "psTime", "Convert psTime time to LST"); 206 206 char *testString2 = "2004-09-10T1:00:00.00Z"; 207 207 psTime* testTime2 = NULL; 208 208 testTime2 = psTimeFromISO(testString2); 209 double dblTime = psTimeToL ST(testTime2, 1);209 double dblTime = psTimeToLMST(testTime2, 1); 210 210 printf("LST (rad): %lf\n", dblTime); 211 211 psFree(testTime2);
Note:
See TracChangeset
for help on using the changeset viewer.
