Clock
A source of Instant values.
See Clock.System for the clock instance that queries the operating system.
It is not recommended to use Clock.System directly in the implementation. Instead, you can pass a Clock explicitly to the necessary functions or classes. This way, tests can be written deterministically by providing custom Clock implementations to the system under test.