DatePickerConstraints

data class DatePickerConstraints(val minDate: LocalDate? = null, val maxDate: LocalDate? = null)

Date constraints applied by DatePickerItems.

Parameters

minDate

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

maxDate

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

Constructors

Link copied to clipboard
constructor(minDate: LocalDate? = null, maxDate: LocalDate? = null)

Properties

Link copied to clipboard
val maxDate: LocalDate?
Link copied to clipboard
val minDate: LocalDate?

Functions

Link copied to clipboard
fun contains(date: LocalDate): Boolean

Returns whether date is inside the configured inclusive bounds.