]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/datetime.h
Make Time::sleep void
[libs/core.git] / source / time / datetime.h
index ba8049bc2aad9ad6a2b794364da2478ad25466c3..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_
 
@@ -84,6 +77,9 @@ private:
        void normalize();
 };
 
+inline void operator<<(LexicalConverter &c, const DateTime &d)
+{ c.result(d.format_rfc3339()); }
+
 } // namespace Time
 } // namespace Msp