From 5513570bf9b58392659c33aea37abc4807f59cb2 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 12 Aug 2011 20:37:20 +0200 Subject: add a warning to Time class that it is broken API --- tools/inc/tools/time.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools') diff --git a/tools/inc/tools/time.hxx b/tools/inc/tools/time.hxx index 9b2534013af6..ff6a7c97b9a7 100644 --- a/tools/inc/tools/time.hxx +++ b/tools/inc/tools/time.hxx @@ -37,6 +37,12 @@ class ResId; // - Time - // -------- +/** + WARNING: This class can serve both as call clock time and time duration, and the mixing + of these concepts leads to problems such as there being 25 hours + or 10 minus 20 seconds being (non-negative) 10 seconds. +*/ + class TOOLS_DLLPUBLIC Time { private: -- cgit