Constructor and Description |
---|
TestClock(java.time.Clock delegateClock)
A Clock that can have the time advanced for use in testing.
|
Modifier and Type | Method and Description |
---|---|
void |
advanceBy(java.time.Duration duration)
|
void |
setTo(java.time.Instant newInstant)
|