DatePickerState

@Stable
interface DatePickerState

A state object that can be hoisted to observe the date picker state. See rememberDatePickerState.

Properties

Link copied to clipboard

A timestamp that represents the currently displayed month start date in UTC milliseconds from the epoch.

Link copied to clipboard
abstract var displayMode: DisplayMode

A DisplayMode that represents the current UI mode (i.e. picker or input).

Link copied to clipboard

A SelectableDates that is consulted to check if a date is allowed.

Link copied to clipboard
abstract var selectedDateMillis: Long?

A timestamp that represents the selected date start of the day in UTC milliseconds from the epoch.

Link copied to clipboard
abstract val yearRange: IntRange

An IntRange that holds the year range that the date picker will be limited to.