X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;h=1bda9e564909f59c16951675f8e4c875a24ae509;hp=81d33894134db889c8018c68ba2c3a74618ff79d;hb=967785734be5c3fc6f75da122c2d93ebbb338271;hpb=cd89068b8ebafdc0f888c1aa21498bb93b55d814 diff --git a/source/time/timedelta.cpp b/source/time/timedelta.cpp index 81d3389..1bda9e5 100644 --- a/source/time/timedelta.cpp +++ b/source/time/timedelta.cpp @@ -1,10 +1,4 @@ -/* -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" @@ -14,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