X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ftime%2Ftimedelta.cpp;h=a56e0fe8a3944763240b79689a55adc3d69c9ad5;hp=7d3d4bb6d2a2ff706ca898582bc241fb72e1a7e2;hb=be8ea216d23bf36bdfb2d3e302638782575fc136;hpb=521cf1db00f8ce2d9f9494dca503d6c17d89ac2f diff --git a/source/time/timedelta.cpp b/source/time/timedelta.cpp index 7d3d4bb..a56e0fe 100644 --- a/source/time/timedelta.cpp +++ b/source/time/timedelta.cpp @@ -1,28 +1,26 @@ -/* -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; namespace { -void print_part(ostream &out, int64_t &value, int64_t unit, char sep, bool &first) +using Msp::Time::RawTime; + +string format_part(RawTime &value, RawTime unit, char sep, bool &first) { if(value