← Docs
kotlin-stdlib / kotlin.time / AbstractLongTimeSource / <init>

<init>

Common
JVM
JS
Native
1.0
AbstractLongTimeSource ( unit : DurationUnit )

An abstract class used to implement time sources that return their readings as Long values in the specified unit .

Time marks returned by this time source can be compared for difference with other time marks obtained from the same time source.

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .