clock

fun clock(clock: Clock)(source)

Globally sets the clock object to use. The default is a DefaultClock instance

Parameters

clock

a a Clock instance


Returns the global clock object

Return

this