public class Timer extends Object
Differs from Guava Stopwatch in the following ways:
Constructor and Description |
---|
Timer(TimestampProvider times) |
Modifier and Type | Method and Description |
---|---|
Duration |
elapsed() |
Instant |
getStartTime() |
Timer |
start() |
Timer |
stop() |
String |
toString() |
Copyright © 2012–2023. All rights reserved.