- // given Julian Date and Longitude (decimal degrees West) compute
- // Local Sidereal Time, in decimal hours.
- //
- // Provided courtesy of ecdowney@noao.edu (Elwood Downey)
- double sidereal_precise( double lng );
-
- // return a courser but cheaper estimate of sidereal time
- double sidereal_course( double lng );
-
- // Some other stuff which were changed to SGTime members on
- // questionable grounds -:)
- time_t get_gmt(int year, int month, int day,
- int hour, int minute, int second);
- time_t get_gmt(struct tm* the_time);
-
+ inline time_t get_cur_time() const { return cur_time; };
+ inline char* get_zonename() const { return zonename; }
+ inline struct tm* getGmt()const { return gmt; };