DateRangePickerCellType

sealed interface DateRangePickerCellType

Describes a calendar cell's relationship to the selected date range.

Inheritors

Types

Link copied to clipboard
data class CurrentMonth(val selectedStart: Boolean, val selectedEnd: Boolean, val inRange: Boolean, val today: Boolean, val enabled: Boolean) : DateRangePickerCellType

A day belonging to the displayed month.

Link copied to clipboard
data class OtherMonth(val selectedStart: Boolean, val selectedEnd: Boolean, val inRange: Boolean, val today: Boolean = false, val enabled: Boolean = false) : DateRangePickerCellType

A disabled day filling a partial week.

Properties

Link copied to clipboard
abstract val enabled: Boolean
Link copied to clipboard
abstract val inRange: Boolean
Link copied to clipboard
abstract val selectedEnd: Boolean
Link copied to clipboard
abstract val selectedStart: Boolean
Link copied to clipboard
abstract val today: Boolean