TimeInterval

Class

Android
public data class TimeInterval(
    val start: Instant = Instant.ofEpochMilli(0),
    val end: Instant = Instant.ofEpochMilli(Long.MAX_VALUE)
)

TimeInterval class defines a period from start to end

Parameters

startThe start time of the time interval
endThe end time of the time interval