← Docs
kotlin-stdlib / kotlin.time / Duration / inWholeHours

inWholeHours

Common
JVM
JS
Native
1.0
val inWholeHours : Long
(source)

The value of this duration expressed as a Long number of hours.

An infinite duration value is converted either to Long.MAX_VALUE or Long.MIN_VALUE depending on its sign.

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 .