public final class

TimelineBuilders.TimeInterval

extends java.lang.Object

 java.lang.Object

↳androidx.wear.tiles.TimelineBuilders.TimeInterval

Overview

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

Summary

Methods
public longgetEndMillis()

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

public longgetStartMillis()

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

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public long getStartMillis()

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

public long getEndMillis()

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