AvailabilityTimeWindow.Builder


class AvailabilityTimeWindow.Builder


Builder class for AvailabilityTimeWindow.

Summary

Public constructors

Public functions

AvailabilityTimeWindow!
AvailabilityTimeWindow.Builder!

This function is deprecated.

Use setLocalizedEndTimestamp instead.

AvailabilityTimeWindow.Builder!

Sets the localized end timestamp for the availability time window.

AvailabilityTimeWindow.Builder!

Sets the localized start timestamp for the availability time window.

AvailabilityTimeWindow.Builder!

This function is deprecated.

Use setLocalizedStartTimestamp instead.

Public constructors

Builder

Builder()

Public functions

build

fun build(): AvailabilityTimeWindow!

setEndTimestampMillis

@CanIgnoreReturnValue
fun setEndTimestampMillis(endTimestampMillis: Long): AvailabilityTimeWindow.Builder!

Sets the end timestamp for the availability time window in epoch milliseconds.

Required.

setLocalizedEndTimestamp

@CanIgnoreReturnValue
fun setLocalizedEndTimestamp(localizedEndTimestamp: LocalizedTimestamp!): AvailabilityTimeWindow.Builder!

Sets the localized end timestamp for the availability time window.

Required.

setLocalizedStartTimestamp

@CanIgnoreReturnValue
fun setLocalizedStartTimestamp(localizedStartTimestamp: LocalizedTimestamp!): AvailabilityTimeWindow.Builder!

Sets the localized start timestamp for the availability time window.

Required.

setStartTimestampMillis

@CanIgnoreReturnValue
fun setStartTimestampMillis(startTimestampMillis: Long): AvailabilityTimeWindow.Builder!

Sets the start timestamp for the availability time window in epoch milliseconds.

Required.