W3cubDocs

/Kotlin

minus

Platform and version requirements: JVM (1.3), JS (1.3), Native (1.3)
@ExperimentalTime operator fun TimeMark.minus(
    other: TimeMark
): Duration
Deprecated: Subtracting one TimeMark from another is not a well defined operation because these time marks could have been obtained from the different time sources.

© 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/minus.html