core
/
io.islandtime.ranges
/
TimePointInterval
/
asDuration
common
as
Duration
fun
asDuration
():
Duration
Content copied to clipboard
Converts this interval into a
Duration
of the same length.
Throws
kotlin.UnsupportedOperationException
if the interval isn't bounded