DateRangePickerState

@Stable
interface DateRangePickerState

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

Properties

Link copied to clipboard
abstract var displayedMonthMillis: Long

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

Link copied to clipboard
abstract val selectedEndDateMillis: Long?

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

Link copied to clipboard
abstract val selectedStartDateMillis: Long?

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

Functions

Link copied to clipboard
abstract fun setSelection(startDateMillis: Long?, endDateMillis: Long?)

Sets a start and end selection dates.