Index: trunk/psLib/src/astro/psTime.c
===================================================================
--- trunk/psLib/src/astro/psTime.c	(revision 6036)
+++ trunk/psLib/src/astro/psTime.c	(revision 6184)
@@ -10,6 +10,6 @@
  *  @author Ross Harman, MHPCC
  *
- *  @version $Revision: 1.77 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-01-18 20:59:31 $
+ *  @version $Revision: 1.78 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-01-23 20:04:31 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -920,4 +920,5 @@
     PS_ASSERT_PTR_NON_NULL(time, NULL);
     psTime *out = NULL;
+    //Also see psEOC_PolarTideCorr for more info.
 
     // Convert psTime to MJD
@@ -982,10 +983,9 @@
     out = psTimeAlloc(time->type);
     *out = *time;
-    //    out->sec = time->sec;
-    //    out->nsec = time->nsec;
-    //    out->leapsecond = time->leapsecond;
     if (out->type != PS_TIME_UT1) {
         out = psTimeConvert(out, PS_TIME_UT1);
     }
+    //see if corrections include seconds or just nano-seconds
+    //nano-seconds must be converted (scaled) to integer values & total cannot be negative
     if (fabs(CORZ) > 1.0) {
         int sec = (int)CORZ;
@@ -1806,2 +1806,10 @@
 }
 
+psTime *p_psTimeCopy(const psTime *inTime)
+{
+    PS_ASSERT_PTR_NON_NULL(inTime, NULL);
+    psTime *outTime = psTimeAlloc(inTime->type);
+    *outTime = *inTime;
+    return outTime;
+}
+
