Module clokwerk::timeprovider

source ·

Structs

The default TimeProvider. It returns the time according to the system clock.

Traits

A trait for providing custom time providers. TimeProviders are used to specify where the source of DateTimes used by the scheduler. For most purposes, the default ChronoTimeProvider is sufficient; the main use case for custom TimeProviders is for writing tests.