TimelineBuilders.TimeInterval.Builder

Added in 1.0.0
Deprecated in 1.2.0

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

Added in 1.0.0
Deprecated in 1.2.0
public Builder()

Public methods

build

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull TimelineBuilders.TimeInterval build()

Builds an instance from accumulated values.

setEndMillis

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull TimelineBuilders.TimeInterval.Builder setEndMillis(long endMillis)

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

setStartMillis

Added in 1.0.0
Deprecated in 1.2.0
public @NonNull TimelineBuilders.TimeInterval.Builder setStartMillis(long startMillis)

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