The state of the MockClock.
The default initial state of the MockClock with the clock time set to
0 and no effects scheduled to run.
Accesses a MockClock instance in the environment and increments the time
by the specified duration, running any actions scheduled for on or before
the new time.
Constructs a new MockClock with the specified initial state.
Constructs a new MockClock with the specified initial state. This can
be useful for providing the required environment to an effect that
requires a Clock, such as with ZIO!.provide.
Constructs a new Mock object that implements the MockClock interface.
Constructs a new Mock object that implements the MockClock interface.
This can be useful for mixing in with implementations of other interfaces.
Accesses a MockClock instance in the environment and sets the clock time
to the specified time, running any actions scheduled for on or before the
new time.
Accesses a MockClock instance in the environment, setting the time zone
to the specified time zone.
Accesses a MockClock instance in the environment, setting the time zone
to the specified time zone. The clock time in terms of nanoseconds since
the epoch will not be altered and no scheduled actions will be run as a
result of this effect.
Accesses a MockClock instance in the environment and returns a list of
times that effects are scheduled to run.
Accesses a MockClock instance in the environemtn and returns the current
time zone.