Companion
object Companion
Helper functions for constructing Intervals.
Properties
Functions
Link copied to clipboard
fun between(start: Duration, end: Duration, startInclusivity: Interval.Inclusivity = Inclusivity.Inclusive, endInclusivity: Interval.Inclusivity = startInclusivity): Interval
Constructs an interval between two durations.
Link copied to clipboard
Constructs an interval between two durations that includes its start and excludes its end.