jvmMain.io.nacular.doodle.time.impl.TimerImpl.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of desktop-jvm Show documentation
Show all versions of desktop-jvm Show documentation
A pure Kotlin, UI framework for the Web
package io.nacular.doodle.time.impl
import io.nacular.doodle.time.Timer
import io.nacular.measured.units.Measure
import io.nacular.measured.units.Time
import io.nacular.measured.units.Time.Companion.milliseconds
import io.nacular.measured.units.times
import kotlinx.datetime.Clock
/**
* Created by Nicholas Eddy on 5/19/21.
*/
internal class TimerImpl(private val clock: Clock): Timer {
override val now: Measure
© 2015 - 2024 Weber Informatics LLC | Privacy Policy