CalendarConfig

class CalendarConfig(val locale: Locale = Locale.getDefault(), val style: CalendarStyle = CalendarStyle.MONTH, val cameraDate: LocalDate? = null, val displayCalendarWeeks: Boolean = Constants.DEFAULT_DISPLAY_CALENDAR_WEEKS, val monthSelection: Boolean = Constants.DEFAULT_MONTH_SELECTION, val yearSelection: Boolean = Constants.DEFAULT_YEAR_SELECTION, val boundary: ClosedRange<LocalDate> = Constants.DEFAULT_RANGE, val disabledDates: List<LocalDate>? = null, val icons: LibIcons = DEFAULT_ICON_STYLE) : BaseConfigs

The general configuration for the calendar dialog.

Parameters

locale

The locale of the calendar.

style

The style of the calendar.

cameraDate

The date that is initially displayed when the calendar is opened.

monthSelection

Allow the direct selection of a month.

yearSelection

Allow the direct selection of a year.

boundary

The range of dates that are displayed.

disabledDates

A list of dates that will be marked as disabled and can not be selected.

icons

The style of icons that are used for dialog/ view-specific icons.

Constructors

Link copied to clipboard
constructor(locale: Locale = Locale.getDefault(), style: CalendarStyle = CalendarStyle.MONTH, cameraDate: LocalDate? = null, displayCalendarWeeks: Boolean = Constants.DEFAULT_DISPLAY_CALENDAR_WEEKS, monthSelection: Boolean = Constants.DEFAULT_MONTH_SELECTION, yearSelection: Boolean = Constants.DEFAULT_YEAR_SELECTION, boundary: ClosedRange<LocalDate> = Constants.DEFAULT_RANGE, disabledDates: List<LocalDate>? = null, icons: LibIcons = DEFAULT_ICON_STYLE)

Properties

Link copied to clipboard
Link copied to clipboard
val cameraDate: LocalDate? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val icons: LibIcons
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard