]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/timezone.h
Use vectors for storage in Poller
[libs/core.git] / source / time / timezone.h
index 699801d47c6b2ead5fd8709f6f7bdc90bc39af72..3fbeb543a243e1a7abd8922e07617ea9cda83992 100644 (file)
@@ -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