X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;h=a4e5db172cf97925c2ce8bb7929c3080ec430b88;hp=c74ffcef4f71fa08de3124b65c1c5171e721da80;hb=132c0c3cc3fd743943f8b076a122bb052aaf9635;hpb=b56eb5ec1da675da0c66abc53c1e4f6c4e4cccbd diff --git a/source/time/timedelta.cpp b/source/time/timedelta.cpp index c74ffce..a4e5db1 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