Changeset 3705 for trunk/psLib/test/astronomy/tst_psTime_03.c
- Timestamp:
- Apr 18, 2005, 1:30:54 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astronomy/tst_psTime_03.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astronomy/tst_psTime_03.c
r3704 r3705 19 19 * @author Ross Harman, MHPCC 20 20 * 21 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $22 * @date $Date: 2005-04-18 23: 13:39$21 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2005-04-18 23:30:54 $ 23 23 * 24 24 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 155 155 psTime *time7a = NULL; 156 156 psTime *timeOut7 = NULL; 157 time7a = psTimeFromISO Time("1998-12-31T23:59:45.00");157 time7a = psTimeFromISO("1998-12-31T23:59:45.00"); 158 158 time7a->type = PS_TIME_UTC; 159 159 timeOut7 = psTimeMath(time7a, time7b); 160 out7 = psTimeToISO Time(timeOut7);160 out7 = psTimeToISO(timeOut7); 161 161 printf("%s\n", out7); 162 162 printFooter(stdout, "psTime", "Test G - Add two times across leapsecond boundary", true); … … 168 168 psTime *time8a = NULL; 169 169 psTime *time8b = NULL; 170 time8a = psTimeFromISO Time("2004-12-18T1:00:00.00");171 time8b = psTimeFromISO Time("1972-1-1T1:00:00.00");170 time8a = psTimeFromISO("2004-12-18T1:00:00.00"); 171 time8b = psTimeFromISO("1972-1-1T1:00:00.00"); 172 172 out = psTimeLeapSecondDelta(time8a, time8b); 173 173 printf("%lld\n", (long long int)out);
Note:
See TracChangeset
for help on using the changeset viewer.
