
walkmc.time.Countdown.kt Maven / Gradle / Ivy
package walkmc.time
import kotlinx.serialization.*
import walkmc.extensions.*
import walkmc.extensions.numbers.*
/**
* A countdown class represents a duration that never expires.
* This is a skeletal class implementation of [StartedTime].
*/
@Serializable
data class Countdown(override var startMillis: Long = currentMillis) : StartedTime {
override fun toString() = lifetime.formatTime()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy