TimelineBuilders.TimeInterval

Added in 1.0.0
Deprecated in 1.2.0

public final class TimelineBuilders.TimeInterval


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

Summary

Nested types

Builder for TimeInterval

Public methods

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 methods

getEndMillis

Added in 1.0.0
Deprecated in 1.2.0
public long getEndMillis()

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
public long getStartMillis()

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