IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1790


Ignore:
Timestamp:
Sep 10, 2004, 3:12:42 PM (22 years ago)
Author:
harman
Message:

Third redesign of time and date functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psTime_01.c

    r1788 r1790  
    2222 *  @author  Ross Harman, MHPCC
    2323 *
    24  *  @version $Revision: 1.8 $  $Name: not supported by cvs2svn $
    25  *  @date  $Date: 2004-09-11 00:57:31 $
     24 *  @version $Revision: 1.9 $  $Name: not supported by cvs2svn $
     25 *  @date  $Date: 2004-09-11 01:12:42 $
    2626 *
    2727 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    161161    // Test O - psTime to LST
    162162    printPositiveTestHeader(stdout, "psTime", "Convert psTime time to LST");
    163     double dblTime = psTimeToLST(testTime, 1);
     163    char *testString2 = "2004-09-10T1:00:00.00Z";
     164    psTime* testTime2 = NULL;
     165    testTime2 = psISOToTime(testString2);
     166    double dblTime = psTimeToLST(testTime2, 1);
    164167    printf("LST (rad): %lf\n", dblTime);
    165168    printFooter(stdout, "psTime", "Convert psTime time to LST", true);
    166169
     170
    167171    return 0;
    168172}
Note: See TracChangeset for help on using the changeset viewer.