summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/Time.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceInternal/Time.java')
-rw-r--r--java/src/IceInternal/Time.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/java/src/IceInternal/Time.java b/java/src/IceInternal/Time.java
new file mode 100644
index 00000000000..d77879ef836
--- /dev/null
+++ b/java/src/IceInternal/Time.java
@@ -0,0 +1,19 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+package IceInternal;
+
+final public class Time
+{
+ static public long
+ currentMonotonicTimeMillis()
+ {
+ return System.nanoTime() / 1000000;
+ }
+};