DateTimeConfig

class DateTimeConfig(val locale: Locale = Locale.getDefault(), val hideDateCharacters: Boolean = false, val hideTimeCharacters: Boolean = false, val minYear: Int = Constants.DEFAULT_MIN_YEAR, val maxYear: Int = Constants.DEFAULT_MAX_YEAR, val icons: LibIcons = DEFAULT_ICON_STYLE) : BaseConfigs

The general configuration for the date time dialog.

Parameters

locale

The locale that is used for the date time dialog.

hideDateCharacters

Hide all characters that can appear alongside the date relevant values.

hideTimeCharacters

Hide all characters that can appear alongside the time relevant values.

minYear

The minimum year that is selectable.

maxYear

The maximum year that is selectable.

icons

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

Constructors

Link copied to clipboard
constructor(locale: Locale = Locale.getDefault(), hideDateCharacters: Boolean = false, hideTimeCharacters: Boolean = false, minYear: Int = Constants.DEFAULT_MIN_YEAR, maxYear: Int = Constants.DEFAULT_MAX_YEAR, icons: LibIcons = DEFAULT_ICON_STYLE)

Properties

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