>=2.12.0-0 <3.0.0based on beta release guidelines.
This release contains the
Clock class that was defined in
quiver. It's backwards-compatible with the
quiver version, and mostly backwards-compatible with the old version of the
clock field has been added that provides a default
Clock implementation. It can be controlled by the
withClock() function. It should generally be used in preference to manual dependency-injection, since it will work with the
Clock.stopwatch() method has been added that creates a
Stopwatch that uses the clock as its source of time.
new getter and
getStopwatch() methods are deprecated.
clock.stopwatch() should be used instead.
Clock.getStopwatch() is deprecated.
Clock.stopwatch() should be used instead.
isFinal argument to
withClock() is deprecated.
new Clock() now takes an optional positional argument that returns the current time as a
DateTime instead of its old arguments.
Clock.now() is now a method rather than a getter.