]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/datetime.h
Make Time::sleep void
[libs/core.git] / source / time / datetime.h
index dcd0b9a7f8f4c213030678acd7b3bc9b3d247708..f00d377875b3dc8a7c9719b0300644e341ba144b 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of libmspcore     
-Copyright © 2006  Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
 #ifndef MSP_TIME_DATETIME_H_
 #define MSP_TIME_DATETIME_H_
 
@@ -82,9 +75,11 @@ public:
 private:
        void add_raw(RawTime);
        void normalize();
-       void validate() const;
 };
 
+inline void operator<<(LexicalConverter &c, const DateTime &d)
+{ c.result(d.format_rfc3339()); }
+
 } // namespace Time
 } // namespace Msp