selectDate

fun selectDate(date: LocalDate)

Programmatically selects the year and month from date.

The day value is ignored because YearMonthPicker only selects year and month.

Throws

if date's year is outside the supported range.


fun selectDate(date: LocalDate, items: YearMonthPickerItems)

Programmatically selects the closest year/month to date that is allowed by items.

The day value is ignored because YearMonthPicker only selects year and month.