DateTimeSelection

The selection configuration for the date time dialog.

Parameters

dateFormatStyle

The style of the date format.

timeFormatStyle

The style of the time format.

Inheritors

Types

Link copied to clipboard
data class Date(val withButtonView: Boolean = true, val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val dateFormatStyle: FormatStyle = FormatStyle.MEDIUM, val selectedDate: LocalDate? = null, val onPositiveClick: (LocalDate) -> Unit) : DateTimeSelection

Select a date.

Link copied to clipboard
data class DateTime(val withButtonView: Boolean = true, val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val dateFormatStyle: FormatStyle = FormatStyle.MEDIUM, val timeFormatStyle: FormatStyle = FormatStyle.SHORT, val selectedTime: LocalTime? = null, val selectedDate: LocalDate? = null, val startWithTime: Boolean = false, val onPositiveClick: (LocalDateTime) -> Unit) : DateTimeSelection

Select a date & time.

Link copied to clipboard
data class Time(val withButtonView: Boolean = true, val extraButton: SelectionButton? = null, val onExtraButtonClick: () -> Unit? = null, val negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, val onNegativeClick: () -> Unit? = null, val positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, val timeFormatStyle: FormatStyle = FormatStyle.SHORT, val selectedTime: LocalTime? = null, val onPositiveClick: (LocalTime) -> Unit) : DateTimeSelection

Select a time.

Properties

Link copied to clipboard
open val dateFormatStyle: FormatStyle? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val onExtraButtonClick: () -> Unit?
Link copied to clipboard
open val onNegativeClick: () -> Unit?
Link copied to clipboard
Link copied to clipboard
open val timeFormatStyle: FormatStyle? = null
Link copied to clipboard