FileDocCategorySizeDatePackage
TimeTracker.javaAPI DocExample650Fri Mar 26 13:34:44 GMT 2004com.oreilly.strutsckbk

TimeTracker

public class TimeTracker extends Object

Fields Summary
private long
startUpTimeMillis
private Date
startedOn
private HashMap
someMap
Constructors Summary
public TimeTracker()

   
     
   	startUpTimeMillis = System.currentTimeMillis();
      startedOn = new Date();
      for (int i=0; i<5;i++) someMap.put(new Integer(i),"Value"+i);
   
Methods Summary
public java.util.HashMapgetSomeMap()

   	return someMap;
   
public java.util.DategetStartedOn()

   	return startedOn;
   
public longgetUptime()

   	return System.currentTimeMillis() - startUpTimeMillis;