X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;h=a56e0fe8a3944763240b79689a55adc3d69c9ad5;hb=d716073b5f2e2fcc518d53ec6ef09c5971b6d0e4;hp=81d33894134db889c8018c68ba2c3a74618ff79d;hpb=cd89068b8ebafdc0f888c1aa21498bb93b55d814;p=libs%2Fcore.git diff --git a/source/time/timedelta.cpp b/source/time/timedelta.cpp index 81d3389..a56e0fe 100644 --- a/source/time/timedelta.cpp +++ b/source/time/timedelta.cpp @@ -1,12 +1,5 @@ -/* -This file is part of libmspcore -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ -#include -#include +#include #include "timedelta.h" -#include "units.h" using namespace std; @@ -14,17 +7,20 @@ namespace { using Msp::Time::RawTime; -void print_part(ostream &out, RawTime &value, RawTime unit, char sep, bool &first) +string format_part(RawTime &value, RawTime unit, char sep, bool &first) { if(value