IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 20, 2004, 6:12:37 PM (22 years ago)
Author:
eugene
Message:

substantial API changes based on change to PSLib SDRS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psDateTime.h

    r396 r753  
    11#if !defined(PS_DATE_TIME_H)
    22#define PS_DATE_TIME_H
     3
     4#include "taia.h"
    35
    46/** \file psDateTime.h
     
    1921    definition. */
    2022typedef struct {
    21     long numSeconds;                    ///< Number of seconds from some defined epoch
    22     double fracSeconds;                 ///< Fraction of seconds
     23  struct taia t;
    2324} psTime;
    2425
     
    5253/** Convert psTime to JD */
    5354double
    54 psTimeToJD (psTime time)                        ///< Input psTime time
     55psTimeToJD (psTime time)                ///< Input psTime time
    5556;
    5657
     
    6162
    6263/** Convert psTime to broken-down time (struct tm) */
    63 struct tm *
    64 psTimeToTm (psTime time)                        ///< Input psTime time
     64struct tm *                             
     65psTimeToTm (psTime time)                ///< Input psTime time
     66;
     67
     68/** Convert psTime to lunation number */
     69float
     70psTimeToLunation (psTime time)          ///< Input psTime time
    6571;
    6672
     
    8692;
    8793
    88 /** Convert timeval to psTime (struct timeval) */
     94/** Convert timeval (struct timeval) to psTime */
    8995psTime *
    9096psTimevalToTime (struct timeval *input) ///< Input timeval time
    9197;
    9298
    93 /** Convert broken-to psTime down time (struct tm) */
     99/** Convert broken-down time (struct tm) to psTime */
    94100psTime *
    95 psTMtoTime (struct tm *input)           ///< Input tm time
     101psTMToTime (struct tm *input)           ///< Input tm time
     102;
     103
     104/** Convert lunation number to psTime */
     105psTime *
     106psLunationToTime (float lunation)       ///< Input lunation
    96107;
    97108
Note: See TracChangeset for help on using the changeset viewer.