Class Timer

  • Direct Known Subclasses:
    SleepTimer

    public class Timer
    extends java.lang.Object
    • Constructor Detail

      • Timer

        public Timer​(long period)
    • Method Detail

      • isRunning

        public boolean isRunning()
      • getElapsed

        public long getElapsed()
      • getRemaining

        public long getRemaining()
      • reset

        public void reset()
      • setEndIn

        public long setEndIn​(long period)
      • stop

        public void stop()
      • toElapsedString

        public java.lang.String toElapsedString()
      • toRemainingString

        public java.lang.String toRemainingString()