TimeKeeping

data class TimeKeeping(val format: String = "HH:mm:ss", val liveUpdate: Boolean = false, val updateInterval: Duration = 1.seconds) : Utility(source)

A utility style that displays time, optionally with live updates based on a specified format.

Constructors

Link copied to clipboard
constructor(format: String = "HH:mm:ss", liveUpdate: Boolean = false, updateInterval: Duration = 1.seconds)

Properties

Link copied to clipboard

The format in which the time is displayed (e.g., "HH:mm:ss").

Link copied to clipboard

Specifies if the time should update live.

Link copied to clipboard

The interval at which the time updates when live updates are enabled.

Functions

Link copied to clipboard
open override fun toString(): String