summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-11-24 00:02:41 +0000
committerpjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-11-24 00:02:41 +0000
commit8424b6c18dd62ec89e026682a5c87ec3d827324d (patch)
treea3ce57426a574ad211a6fd7fc538155a64a93669 /java
parent25a3ee5192531b1eba199f3a035e3efda77b28d7 (diff)
downloadATCD-8424b6c18dd62ec89e026682a5c87ec3d827324d.tar.gz
Fixed a small bug. Needed to divide System.currentTimeMillis () by 1000 to get the right value
back in getTimeOfDay()
Diffstat (limited to 'java')
-rw-r--r--java/src/TimeValue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/TimeValue.java b/java/src/TimeValue.java
index f4aa2b9bcb5..92aae17b8ba 100644
--- a/java/src/TimeValue.java
+++ b/java/src/TimeValue.java
@@ -98,7 +98,7 @@ public class TimeValue
*/
public static TimeValue getTimeOfDay ()
{
- return new TimeValue (System.currentTimeMillis ());
+ return new TimeValue (System.currentTimeMillis ()/1000);
}
/**