<div class='sourceset sourceset-common'>Common</div>

```kotlin
object DateRangePickerDefaults
```

Contains default values used by the [DateRangePicker](/jetpack-compose/androidx.compose.material3/material3/components/DateRangePicker).

## Functions

<h2 id="daterangepickertitle-displaymode-modifier-contentcolor">DateRangePickerTitle</h2>

```kotlin
@Composable
    fun DateRangePickerTitle(
        displayMode: DisplayMode,
        modifier: Modifier = Modifier,
        contentColor: Color = DatePickerDefaults.colors().titleContentColor,
    )
```

A default date range picker title composable.

#### Parameters

| | |
| --- | --- |
| displayMode | the current [DisplayMode](/jetpack-compose/androidx.compose.material3/material3/classes/DisplayMode) |
| modifier | a [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied for the title |
| contentColor | the content color of this title |

<hr class="docs-overload-divider">

<h2 id="daterangepickerheadline-displaymode-dateformatter-modifier-contentcolor">DateRangePickerHeadline</h2>

```kotlin
@Composable
    fun DateRangePickerHeadline(
        @Suppress("AutoBoxing") selectedStartDateMillis: Long?,
        @Suppress("AutoBoxing") selectedEndDateMillis: Long?,
        displayMode: DisplayMode,
        dateFormatter: DatePickerFormatter,
        modifier: Modifier = Modifier,
        contentColor: Color = DatePickerDefaults.colors().headlineContentColor,
    )
```

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](/jetpack-compose/androidx.compose.material3/material3/classes/DisplayMode) |
| dateFormatter | a [DatePickerFormatter](/jetpack-compose/androidx.compose.material3/material3/interfaces/DatePickerFormatter) |
| modifier | a [Modifier](/jetpack-compose/androidx.compose.ui/ui/interfaces/Modifier) to be applied for the headline |
| contentColor | the content color of this headline |