com.google.code.tempusfugit.temporal
Class StopWatch

java.lang.Object
  extended by com.google.code.tempusfugit.temporal.StopWatch

public final class StopWatch
extends Object


Constructor Summary
StopWatch(Clock clock)
           
 
Method Summary
 Date getStartDate()
           
 Duration markAndGetTotalElapsedTime()
           
static StopWatch start(Clock clock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopWatch

public StopWatch(Clock clock)
Since:
1.2
Method Detail

start

public static StopWatch start(Clock clock)

getStartDate

public Date getStartDate()

markAndGetTotalElapsedTime

public Duration markAndGetTotalElapsedTime()


Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.