X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;h=1bda9e564909f59c16951675f8e4c875a24ae509;hb=62a984b46e08740d19cb055f01be3365982f6b9d;hp=d94d8c5f0e7463ad8e454ab214b6b1126206b67a;hpb=cfc8e0b7b15ea505bd6a6a9599cbc5ce1e316963;p=libs%2Fcore.git diff --git a/source/time/timedelta.cpp b/source/time/timedelta.cpp index d94d8c5..1bda9e5 100644 --- a/source/time/timedelta.cpp +++ b/source/time/timedelta.cpp @@ -1,12 +1,4 @@ -/* $Id$ - -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" @@ -16,17 +8,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