TimelineBuilders.TimeInterval

public final class TimelineBuilders.TimeInterval


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

Summary

Public methods

@NonNull long

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

@NonNull long

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

Public methods

getEndMillis

@NonNull
public long getEndMillis()

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

getStartMillis

@NonNull
public long getStartMillis()

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