DateTimeRangeSet

Constructors

Link copied to clipboard
constructor(ranges: List<DateTimeRange>)
constructor(range: DateTimeRange)
constructor(vararg ranges: DateTimeRange)

Types

Link copied to clipboard
object Companion
Link copied to clipboard
object Fast
Link copied to clipboard
object Slow

Properties

Link copied to clipboard

DateTimeRange from the beginning of the first element to the end of the last one.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Total time of all ranges.

Functions

Link copied to clipboard
operator fun contains(time: DateTime): Boolean
operator fun contains(time: DateTimeRange): Boolean
Link copied to clipboard
operator fun minus(range: DateTimeRange): DateTimeRangeSet
Link copied to clipboard
operator fun plus(range: DateTimeRange): DateTimeRangeSet
operator fun plus(right: DateTimeRangeSet): DateTimeRangeSet
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard