Increments the current clock time by the specified duration.
Returns the current clock time as an OffsetDateTime
.
Returns the current clock time as an OffsetDateTime
.
Returns the current clock time in the specified time unit.
Returns the current clock time in the specified time unit.
Returns the current clock time in nanoseconds.
Returns the current clock time in nanoseconds.
Saves the TestClock
's current state in an effect which, when run,
will restore the TestClock
state to the saved state
Saves the TestClock
's current state in an effect which, when run,
will restore the TestClock
state to the saved state
Sets the current clock time to the specified OffsetDateTime
.
Sets the current clock time to the specified time in terms of duration since the epoch.
Sets the time zone to the specified time zone.
Semantically blocks the current fiber until the clock time is equal to or greater than the specified duration.
Semantically blocks the current fiber until the clock time is equal to or greater than the specified duration. Once the clock time is adjusted to on or after the duration, the fiber will automatically be resumed.
Returns a list of the times at which all queued effects are scheduled to resume.
Returns a set of all fibers in this test.
Returns the time zone.