Class

TimeInterval

TimeInterval class defines a period from start to end

Source set: Android

Deprecated

glance-wear-tiles is deprecated and will be removed

Added in 1.0.0-alpha07

Deprecated in 1.0.0-alpha07

public data class TimeInterval(
    val start: Instant = Instant.ofEpochMilli(0),
    val end: Instant = Instant.ofEpochMilli(Long.MAX_VALUE),
)

TimeInterval class defines a period from start to end

Parameters

start The start time of the time interval
end The end time of the time interval