TimelineBuilders.TimeInterval

Added in 1.0.0
Deprecated in 1.2.0

class TimelineBuilders.TimeInterval


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

Summary

Nested types

Builder for TimeInterval

Public functions

Long

Gets end point of the time interval, in milliseconds since the Unix epoch.

Long

Gets starting point of the time interval, in milliseconds since the Unix epoch.

Public functions

getEndMillis

Added in 1.0.0
Deprecated in 1.2.0
fun getEndMillis(): Long

Gets end point of the time interval, in milliseconds since the Unix epoch. Intended for testing purposes only.

getStartMillis

Added in 1.0.0
Deprecated in 1.2.0
fun getStartMillis(): Long

Gets starting point of the time interval, in milliseconds since the Unix epoch. Intended for testing purposes only.