X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Fdatetime.h;h=f00d377875b3dc8a7c9719b0300644e341ba144b;hb=00e36d6bf092b98dfa413578d9af58d61cedbc13;hp=dcd0b9a7f8f4c213030678acd7b3bc9b3d247708;hpb=1e54e9f4b8cd32db5c224f971207aedee8bbe3dd;p=libs%2Fcore.git diff --git a/source/time/datetime.h b/source/time/datetime.h index dcd0b9a..f00d377 100644 --- a/source/time/datetime.h +++ b/source/time/datetime.h @@ -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