betweenClosedOpen

fun betweenClosedOpen(start: Duration, end: Duration): Interval

Constructs an interval between two durations that includes its start and excludes its end.

Parameters

start

The starting time of the interval.

end

The ending time of the interval.