Class StopwatchTime

java.lang.Object
dev.comfast.util.time.StopwatchTime

public class StopwatchTime extends Object

Result of Stopwatch measurement.

End time === time when Constructor called

  • Field Details

    • startTimestamp

      public final long startTimestamp
    • nanos

      public final long nanos
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getDuration

      public Duration getDuration()
    • getMillis

      public long getMillis()
    • getStartTimestamp

      public long getStartTimestamp()
    • getNanos

      public long getNanos()