TimeProvider

fun interface TimeProvider<T : Temporal>(source)

Interface providing access to current time via now method.

This class is needed in order to test methods that require usage of current time stamp.

Inheritors

Functions

Link copied to clipboard
abstract fun now(): T

Returns value representing current time stamp as defined in the implementation of T.