DateRangePickerHeadline

@Composable
fun DateRangePickerHeadline(selectedStartDateMillis: Long?, selectedEndDateMillis: Long?, displayMode: DisplayMode, dateFormatter: DatePickerFormatter, modifier: Modifier = Modifier)

A default date picker headline composable lambda that displays a default headline text when there is no date selection, and an actual date string when there is.

Parameters

selectedStartDateMillis

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

selectedEndDateMillis

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

displayMode

the current DisplayMode

dateFormatter
modifier

a Modifier to be applied for the headline