duration

fun duration(): Duration

Length of the interval, represented as a Duration object.