Add a small accessor function to expose local timezone offset.
This commit is contained in:
parent
f196d3bab8
commit
61984730ac
@ -192,6 +192,9 @@ public:
|
||||
|
||||
/** @return grenich side real time (lst when longitude == 0) */
|
||||
inline double getGst() const { return gst; };
|
||||
|
||||
/** @return offset in seconds to local timezone time */
|
||||
inline time_t get_local_offset() const { return local_offset; };
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user