TimelineBuilders.TimeInterval.Builder

public final class TimelineBuilders.TimeInterval.Builder


Builder for TimeInterval

Summary

Public constructors

Public methods

@NonNull TimelineBuilders.TimeInterval

Builds an instance from accumulated values.

@NonNull TimelineBuilders.TimeInterval.Builder
setEndMillis(long endMillis)

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

@NonNull TimelineBuilders.TimeInterval.Builder
setStartMillis(long startMillis)

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

Public constructors

Builder

public Builder()

Public methods

build

public @NonNull TimelineBuilders.TimeInterval build()

Builds an instance from accumulated values.

setEndMillis

public @NonNull TimelineBuilders.TimeInterval.Builder setEndMillis(long endMillis)

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

setStartMillis

public @NonNull TimelineBuilders.TimeInterval.Builder setStartMillis(long startMillis)

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