TimeRanges

Represents one or more ranges of time, each specified by a start time and an end time.

Constructors

Link copied to clipboard
constructor(ranges: List<ClosedFloatingPointRange<Double>>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the bounding time range from firstStart to lastEnd, or null if empty.

Link copied to clipboard

Returns the start of the first range, or null if empty.

Link copied to clipboard

Returns the end of the last range, or null if empty.

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open operator override fun contains(element: ClosedFloatingPointRange<Double>): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun get(index: Int): ClosedFloatingPointRange<Double>
Link copied to clipboard
open override fun indexOf(element: ClosedFloatingPointRange<Double>): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<ClosedFloatingPointRange<Double>>
Link copied to clipboard
open override fun lastIndexOf(element: ClosedFloatingPointRange<Double>): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun subList(fromIndex: Int, toIndex: Int): List<ClosedFloatingPointRange<Double>>
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>