summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2016-04-07 10:29:11 +0200
committerJose <jose@zeroc.com>2016-04-07 10:29:11 +0200
commit058a0c6c3ee2f059be0d8c7eba940aa31463fa7f (patch)
treea52b7eb37253b8da13db2b7f617f3233b440bbfb /cpp/include
parentFixed issue with IE where accessing the stack from Exception.toString leads t... (diff)
downloadice-058a0c6c3ee2f059be0d8c7eba940aa31463fa7f.tar.bz2
ice-058a0c6c3ee2f059be0d8c7eba940aa31463fa7f.tar.xz
ice-058a0c6c3ee2f059be0d8c7eba940aa31463fa7f.zip
ICE-7035 - Add option to roll log files
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/IceUtil/Time.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/include/IceUtil/Time.h b/cpp/include/IceUtil/Time.h
index abfc48c7854..9b29a862391 100644
--- a/cpp/include/IceUtil/Time.h
+++ b/cpp/include/IceUtil/Time.h
@@ -28,7 +28,7 @@ public:
// No copy constructor and assignment operator necessary. The
// automatically generated copy constructor and assignment
// operator do the right thing.
-
+
enum Clock { Realtime, Monotonic };
static Time now(Clock = Realtime);
@@ -39,7 +39,7 @@ public:
static Time secondsDouble(double);
static Time milliSecondsDouble(double);
static Time microSecondsDouble(double);
-
+
#ifndef _WIN32
operator timeval() const;
#endif
@@ -54,6 +54,7 @@ public:
std::string toDateTime() const;
std::string toDuration() const;
+ std::string toFormatString(const std::string&) const;
Time operator-() const
{