From: curt Date: Thu, 17 Nov 2005 15:30:07 +0000 (+0000) Subject: Add a small accessor function to expose local timezone offset. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=61984730ac461010214fe7322d32c6f5ebb79639;p=simgear.git Add a small accessor function to expose local timezone offset. --- diff --git a/simgear/timing/sg_time.hxx b/simgear/timing/sg_time.hxx index 24175e2e..5037f541 100644 --- a/simgear/timing/sg_time.hxx +++ b/simgear/timing/sg_time.hxx @@ -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; }; };