of

fun of(start: Duration, endExclusive: Duration): TimeRange(source)

A range covering [start, endExclusive).