IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 24, 2005, 8:30:34 PM (21 years ago)
Author:
eugene
Message:

starting delstar cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/delstar/include/delstar.h

    r3466 r4605  
    2424
    2525char DateKeyword[64], DateMode[64], UTKeyword[64], MJDKeyword[64], JDKeyword[64];
     26
     27/*** values for time formats */
     28enum {TIME_NONE, TIME_JD, TIME_MJD, TIME_DATE, TIME_DAYS, TIME_HOURS, TIME_MINUTES, TIME_SECONDS};
     29
     30/*** conversion functions ***/
     31int           chk_time              PROTO((char *line));
     32time_t        date_to_sec           PROTO((char *date));
     33time_t        jd_to_sec             PROTO((double jd));
     34time_t        mjd_to_sec            PROTO((double mjd));
     35char         *sec_to_date           PROTO((time_t second));
     36double        sec_to_jd             PROTO((time_t second));
     37double        sec_to_mjd            PROTO((time_t second));
     38int           str_to_dtime          PROTO((char *line, double *second));
     39int           str_to_radec          PROTO((double *ra, double *dec, char *str1, char *str2));
     40int           str_to_time           PROTO((char *line, time_t *second));
Note: See TracChangeset for help on using the changeset viewer.