TimelineBuilders.TimeInterval


@RequiresSchemaVersion(major = 1, minor = 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.

String

Public functions

getEndMillis

Added in 1.0.0
fun getEndMillis(): Long

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

getStartMillis

Added in 1.0.0
fun getStartMillis(): Long

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

toString

fun toString(): String