Class

TimeInterval

TimeInterval class defines a period from start to end

Source set: Android
@Deprecated("glance-wear-tiles is deprecated and will be removed")
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
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: