<div class='type'>Interface</div>


<a id='references'></a>

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



```kotlin
interface SelectableDates
```


An interface that controls the selectable dates and years in the date pickers UI.


## Functions



<h2 id="isselectabledate-utctimemillis">isSelectableDate</h2>

```kotlin
fun isSelectableDate(utcTimeMillis: Long) = true
```


Returns true if the date item representing the `utcTimeMillis` should be enabled for
selection in the UI.




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


<h2 id="isselectableyear-year">isSelectableYear</h2>

```kotlin
fun isSelectableYear(year: Int) = true
```


Returns true if a given `year` should be enabled for selection in the UI. When a year is
defined as non selectable, all the dates in that year will also be non selectable.