fun toLongMilliseconds(): Long
Returns the value of this duration expressed as a Long number of milliseconds.
The value is coerced to the range of Long type, if it doesn't fit in that range, see the conversion Double.toLong for details.
The range of durations that can be expressed as a Long
number of milliseconds is approximately ±292 million years.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.time/-duration/to-long-milliseconds.html