From a4a38b0725450da619a32aeef749d77b12a58ea2 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 9 Feb 2005 07:05:43 +0000 Subject: [PATCH] trace start_time in Date format --- bindings/java/src/net/hyperic/sigar/test/TestProcTime.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/test/TestProcTime.java b/bindings/java/src/net/hyperic/sigar/test/TestProcTime.java index d0a25f3a..1800270e 100644 --- a/bindings/java/src/net/hyperic/sigar/test/TestProcTime.java +++ b/bindings/java/src/net/hyperic/sigar/test/TestProcTime.java @@ -1,5 +1,7 @@ package net.hyperic.sigar.test; +import java.util.Date; + import net.hyperic.sigar.Sigar; import net.hyperic.sigar.SigarException; import net.hyperic.sigar.ProcTime; @@ -21,6 +23,7 @@ public class TestProcTime extends SigarTestCase { ProcTime procTime = sigar.getProcTime(sigar.getPid()); assertGtEqZeroTrace("StartTime", procTime.getStartTime()); + traceln("StartDate=" + new Date(procTime.getStartTime())); //XXX //assertTrue(procTime.getStartTime() < System.currentTimeMillis());