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
    • startTimeNs

      public final long startTimeNs
    • endTimeNs

      public final long endTimeNs
  • Method Details

    • toString

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

      public Duration getDuration()
    • getNanos

      public long getNanos()
    • getMillis

      public long getMillis()
    • getStartTimestamp

      public long getStartTimestamp()
    • getStartTimeNs

      public long getStartTimeNs()
    • getEndTimeNs

      public long getEndTimeNs()