]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/units.cpp
Move the time constants to timedelta.h
[libs/core.git] / source / time / units.cpp
diff --git a/source/time/units.cpp b/source/time/units.cpp
deleted file mode 100644 (file)
index 382592c..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "units.h"
-
-namespace Msp {
-namespace Time {
-
-// Constants to be used in creation of TimeDeltas
-const TimeDelta zero(0);
-const TimeDelta usec(1);
-const TimeDelta msec(1000);
-const TimeDelta sec(1000000);
-const TimeDelta min(60*1000000);
-const TimeDelta hour(3600*1000000LL);
-const TimeDelta day(86400*1000000LL);
-const TimeDelta week(7*86400*1000000LL);
-
-} // namespace Time
-} // namespace Msp