inline operator fun Duration.component1(): Long
Return the seconds component of this Duration.
This method allows to use destructuring declarations when working with durations, for example:
val (seconds, nanoOffset) = myDuration
See Also
Duration.getSeconds