TimelineBuilders.TimeInterval
public final class TimelineBuilders.TimeInterval
A time interval, typically used to describe the validity period of a TimelineEntry
.
Summary
Nested types |
---|
public final class TimelineBuilders.TimeInterval.Builder Builder for |
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
public long getEndMillis()
Gets end point of the time interval, in milliseconds since the Unix epoch. Intended for testing purposes only.
public long getStartMillis()
Gets starting point of the time interval, in milliseconds since the Unix epoch. Intended for testing purposes only.