CalendarSelection

Describes the current selection in the calendar

Inheritors

Types

Link copied to clipboard
data class Dates(val start: LocalDate, val end: LocalDate?) : CalendarSelection.Range

A range of dates is selected.

Link copied to clipboard
data class Month(val month: YearMonth, val start: LocalDate = month.firstDay(), val end: LocalDate = month.lastDay()) : CalendarSelection.Range

A whole month is selected.

Link copied to clipboard
data object None : CalendarSelection

No dates are selected

Link copied to clipboard

Describes the current range selection in the calendar.

Link copied to clipboard

Single date is selected

Functions

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

Check whether selection contains the date