class TimeInterval


A time interval, typically used to describe the validity period of a TimelineEntry.

Summary

Public constructors

TimeInterval(start: Instant, end: Instant)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Instant

The Instant when this TimeInterval becomes invalid, must be after start

Instant

The Instant when this TimeInterval becomes valid

Public constructors

TimeInterval

Added in 1.1.0
TimeInterval(start: Instant, end: Instant)
Parameters
start: Instant

The Instant when this TimeInterval becomes valid

end: Instant

The Instant when this TimeInterval becomes invalid, must be after start

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

end

Added in 1.1.0
var endInstant

The Instant when this TimeInterval becomes invalid, must be after start

start

Added in 1.1.0
var startInstant

The Instant when this TimeInterval becomes valid