TimePickerConstraints

data class TimePickerConstraints(val minTime: LocalTime? = null, val maxTime: LocalTime? = null)

Time constraints applied by TimePickerItems.

Parameters

minTime

The earliest selectable time, inclusive. Pass null to omit the lower bound.

maxTime

The latest selectable time, inclusive. Pass null to omit the upper bound.

Constructors

Link copied to clipboard
constructor(minTime: LocalTime? = null, maxTime: LocalTime? = null)

Properties

Link copied to clipboard
val maxTime: LocalTime?
Link copied to clipboard
val minTime: LocalTime?

Functions

Link copied to clipboard
fun contains(time: LocalTime): Boolean

Returns whether time is inside the configured inclusive bounds.