summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-08-12 20:37:20 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-08-18 15:15:51 +0200
commit5513570bf9b58392659c33aea37abc4807f59cb2 (patch)
tree149a173e03f3a5bb277b874c5b8440c80e230f19 /tools
parentplaceholder for writing math to .docx (diff)
downloadcore-5513570bf9b58392659c33aea37abc4807f59cb2.tar.gz
core-5513570bf9b58392659c33aea37abc4807f59cb2.zip
add a warning to Time class that it is broken API
Diffstat (limited to 'tools')
-rw-r--r--tools/inc/tools/time.hxx6
1 files changed, 6 insertions, 0 deletions
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: