Package core.helpers

Class StopWatchHelper


  • public class StopWatchHelper
    extends Object
    StopWatchHelper watch = StopWatchHelper.start(); // do something long passedTimeInMs = watch.time(); long passedTimeInSeconds = watch.time(TimeUnit.SECONDS);
    Author:
    ehsan matean
    • Method Detail

      • start

        public static StopWatchHelper start()
        StopWatchHelper watch = Helper.start(); do something long passedTimeInMs = watch.time(); long passedTimeInSeconds = watch.time(TimeUnit.SECONDS);
        Returns:
      • time

        public long time()
      • time

        public long time​(TimeUnit unit)