-/*
+/* $Id$
+
This file is part of libmspcore
Copyright © 2006 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
+
#include <sstream>
#include <iomanip>
#include "timedelta.h"
namespace {
-void print_part(ostream &out, int64_t &value, int64_t unit, char sep, bool &first)
+using Msp::Time::RawTime;
+
+void print_part(ostream &out, RawTime &value, RawTime unit, char sep, bool &first)
{
- if(!value || (value<unit && first))
+ if(value<unit && first)
return;
if(!first)
ostringstream ss;
ss.fill('0');
- int64_t value=td.raw();
+ RawTime value=td.raw();
if(value<0)
{