Changeset 3704
- Timestamp:
- Apr 18, 2005, 1:13:39 PM (21 years ago)
- Location:
- trunk/psLib
- Files:
-
- 5 edited
-
src/astro/psTime.c (modified) (2 diffs)
-
src/astro/psTime.h (modified) (2 diffs)
-
src/astronomy/psTime.c (modified) (2 diffs)
-
src/astronomy/psTime.h (modified) (2 diffs)
-
test/astronomy/tst_psTime_03.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r3341 r3704 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.5 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-28 23:34:10$12 * @version $Revision: 1.55 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:13:37 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 760 760 761 761 762 psS64 psTimeLeap seconds(const psTime *time1, const psTime *time2)762 psS64 psTimeLeapSecondDelta(const psTime *time1, const psTime *time2) 763 763 { 764 764 psS64 diff = 0; -
trunk/psLib/src/astro/psTime.h
r3264 r3704 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:23$12 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:13:37 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 155 155 * @return psS64: leapseconds added between given times 156 156 */ 157 psS64 psTimeLeap seconds(157 psS64 psTimeLeapSecondDelta( 158 158 const psTime* time1, ///< First input time. 159 159 const psTime* time2 ///< Second input time. -
trunk/psLib/src/astronomy/psTime.c
r3341 r3704 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.5 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-28 23:34:10$12 * @version $Revision: 1.55 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:13:37 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 760 760 761 761 762 psS64 psTimeLeap seconds(const psTime *time1, const psTime *time2)762 psS64 psTimeLeapSecondDelta(const psTime *time1, const psTime *time2) 763 763 { 764 764 psS64 diff = 0; -
trunk/psLib/src/astronomy/psTime.h
r3264 r3704 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 2-17 19:26:23$12 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-04-18 23:13:37 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 155 155 * @return psS64: leapseconds added between given times 156 156 */ 157 psS64 psTimeLeap seconds(157 psS64 psTimeLeapSecondDelta( 158 158 const psTime* time1, ///< First input time. 159 159 const psTime* time2 ///< Second input time. -
trunk/psLib/test/astronomy/tst_psTime_03.c
r3682 r3704 19 19 * @author Ross Harman, MHPCC 20 20 * 21 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $22 * @date $Date: 2005-04- 07 20:27:41$21 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 22 * @date $Date: 2005-04-18 23:13:39 $ 23 23 * 24 24 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 170 170 time8a = psTimeFromISOTime("2004-12-18T1:00:00.00"); 171 171 time8b = psTimeFromISOTime("1972-1-1T1:00:00.00"); 172 out = psTimeLeap seconds(time8a, time8b);172 out = psTimeLeapSecondDelta(time8a, time8b); 173 173 printf("%lld\n", (long long int)out); 174 174 printFooter(stdout, "psTime", "Test H - Find number of leapseconds added between two times", true);
Note:
See TracChangeset
for help on using the changeset viewer.
