net.sf.kernow.util
Class Timer

java.lang.Object
  extended by net.sf.kernow.util.Timer

public class Timer
extends java.lang.Object

Outputs seconds as a sentence - "x minutes x seconds"


Constructor Summary
Timer()
           
 
Method Summary
static java.lang.String getDurationInWords(long duration)
           
static java.lang.String getTimeTaken(long startTimeInMillis, long endTimeInMillis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Timer

public Timer()
Method Detail

getTimeTaken

public static java.lang.String getTimeTaken(long startTimeInMillis,
                                            long endTimeInMillis)

getDurationInWords

public static java.lang.String getDurationInWords(long duration)