Package-level declarations

Types

Link copied to clipboard

Calendar public API.

Link copied to clipboard
sealed interface CalendarEffect

Describes any side effects from the calendar.

Link copied to clipboard
data class CalendarParams(val selectionMode: CalendarParams.SelectionMode, val range: ClosedRange<LocalDate> = LocalDate.now()..LocalDate.now().plusYears(1), val cellsInfo: Map<LocalDate, CellInfo> = emptyMap(), val locale: Locale = Locale.getDefault(), val dayOfWeekText: TextStyle = findBestWeekdayStyleForLocale(locale), val dateContentDescriptionStyle: FormatStyle = FormatStyle.FULL, val now: LocalDate = LocalDate.now(), val monthSelectionMode: CalendarParams.MonthSelectionMode = MonthSelectionMode.Disabled)

Describes the calendar configuration.

Link copied to clipboard

Describes the current selection in the calendar

Link copied to clipboard

The model containing all the information describing BpkCalendar in the moment.

Link copied to clipboard
data class CellInfo(val disabled: Boolean = false, val status: CellStatus? = null, val label: CellLabel = CellLabel.Text(""), val style: CellStatusStyle = CellStatusStyle.Label)

Additional information to be added to dates cell

Link copied to clipboard
sealed class CellLabel

Describes the label of the cell

Link copied to clipboard

Describes the colouring of the cell

Link copied to clipboard

Describes the colouring behaviour of the cell