SystemTimeSource

A TimeSource implementation that uses the system clock.

This object provides the current time based on the underlying system's clock, making it suitable for production environments. It uses kotlin.time.Clock.System to get the current time.

Functions

Link copied to clipboard
open override fun currentTimeMillis(): Long

Retrieves the current time expressed in milliseconds since the Unix epoch (January 1, 1970, 00:00:00 UTC).