Class StopWatch


  • public class StopWatch
    extends Object
    • Method Detail

      • exceeds

        public boolean exceeds​(Duration duration)
      • setEndIn

        public void setEndIn​(Duration duration)
      • isPaused

        public boolean isPaused()
      • isRunning

        public boolean isRunning()
      • getElapsed

        public Duration getElapsed()
      • getRemaining

        public Duration getRemaining()
      • toElapsedString

        public String toElapsedString()
      • toRemainingString

        public String toRemainingString()
      • reset

        public void reset()
      • pause

        public void pause()
      • resume

        public void resume()
      • getRate

        public double getRate​(long value,
                              Duration rate)
      • getHourlyRate

        public double getHourlyRate​(long value)