X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Fdatetime.h;h=f00d377875b3dc8a7c9719b0300644e341ba144b;hb=094732f666ff0529262d78b332d3a835605d9374;hp=ba8049bc2aad9ad6a2b794364da2478ad25466c3;hpb=fe8c3e73b5d9147d400c2b7d2e35ebfc64fc7b9d;p=libs%2Fcore.git diff --git a/source/time/datetime.h b/source/time/datetime.h index ba8049b..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_ @@ -84,6 +77,9 @@ private: void normalize(); }; +inline void operator<<(LexicalConverter &c, const DateTime &d) +{ c.result(d.format_rfc3339()); } + } // namespace Time } // namespace Msp