diff options
author | pjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-24 00:02:41 +0000 |
---|---|---|
committer | pjain <pjain@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-11-24 00:02:41 +0000 |
commit | 8424b6c18dd62ec89e026682a5c87ec3d827324d (patch) | |
tree | a3ce57426a574ad211a6fd7fc538155a64a93669 /java | |
parent | 25a3ee5192531b1eba199f3a035e3efda77b28d7 (diff) | |
download | ATCD-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.java | 2 |
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); } /** |