rangeUntil

operator fun Duration.rangeUntil(other: Duration): Interval

Create an interval between two durations, including the start and excluding the end, using the ..< operator.