EucClock

interface EucClock(source)

Time source injected into protocols, so that decoding stays deterministic in tests and portable across Kotlin targets without depending on a particular platform clock.

Functions

Link copied to clipboard
abstract fun currentTimeMillis(): Long

Wall-clock time in milliseconds since the Unix epoch.

Link copied to clipboard
abstract fun localDateTime(): EucDateTime

Local wall-clock date and time.