IntervalLike

An interface for objects that have a interval-like presence on a timeline.

For example, profile segments, activity instances, and plain intervals are all interval-like.

Inheritors

Properties

Link copied to clipboard
abstract val interval: Interval

The interval this occupies on the timeline.

Functions

Link copied to clipboard
abstract fun withNewInterval(i: Interval): I

Creates a new object that is identical except that it exists on a different interval.