X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimezone.h;h=3fbeb543a243e1a7abd8922e07617ea9cda83992;hp=699801d47c6b2ead5fd8709f6f7bdc90bc39af72;hb=be8ea216d23bf36bdfb2d3e302638782575fc136;hpb=3fd9d04e84cdd72aabe8f9878f9e8ff006275bb6 diff --git a/source/time/timezone.h b/source/time/timezone.h index 699801d..3fbeb54 100644 --- a/source/time/timezone.h +++ b/source/time/timezone.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of libmspcore -Copyright © 2008 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_TIME_TIMEZONE_H_ #define MSP_TIME_TIMEZONE_H_ @@ -22,12 +15,15 @@ private: public: TimeZone(); TimeZone(int); + TimeZone(int, const std::string &); const std::string &get_name() const { return name; } const TimeDelta &get_offset() const { return offset; } static const TimeZone &utc(); static const TimeZone &local(); +private: + static TimeZone platform_get_local_timezone(); }; } // namespace Time