home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 3 / Meeting_Pearls_III.iso / Pearls / dev / Libraries / Date / src / Date_Time.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-03  |  1.6 KB  |  21 lines

  1.  
  2. #ifndef __MakeLib
  3.   float TimeToJD(const unsigned short hour, const unsigned short min, const unsigned short sec);
  4.   short TimeZoneFactor(const short degree);
  5.   long LMT(const unsigned long secs, const float meridiandegree, const float posdegree);
  6.   unsigned long TimeToSec(const unsigned short hour, const unsigned short min, const unsigned short sec);
  7.   short Compare2Times(const unsigned short hour1, const unsigned short min1, const unsigned short sec1, const unsigned short hour2, const unsigned short min2, const unsigned short sec2);
  8.   bool ValidTime(const unsigned short hour, const unsigned short min, const unsigned short sec);
  9.   long TimeDiff(const unsigned short hour1, const unsigned short min1, const unsigned short sec1, const unsigned short hour2, const unsigned short min2, const unsigned short sec2);
  10.   #ifndef __cplusplus
  11.     void JDToTime(float jd, unsigned short *const rhour, unsigned short *const rmin, unsigned short *const rsec);
  12.     void SecToTime(unsigned long secs, unsigned short *const hour, unsigned short *const min, unsigned short *const sec);
  13.     void DiffTime(const unsigned short hour, const unsigned short min, const unsigned short sec, long diffsecs, unsigned short *const rhour, unsigned short *const rmin, unsigned short *const rsec);
  14.   #else
  15.     void JDToTime(float jd, unsigned short &rhour, unsigned short &rmin, unsigned short &rsec);
  16.     void SecToTime(unsigned long secs, unsigned short &hour, unsigned short &min, unsigned short &sec);
  17.     void DiffTime(const unsigned short hour, const unsigned short min, const unsigned short sec, long diffsecs, unsigned short &rhour, unsigned short &rmin, unsigned short &rsec);
  18.   #endif
  19. #else
  20. #endif
  21.