year Month Picker Items
fun yearMonthPickerItems(yearItems: List<Int> = YEAR_RANGE, monthItems: List<Int> = MONTH_RANGE, minYearMonth: YearMonth? = null, maxYearMonth: YearMonth? = null): YearMonthPickerItems
Creates selectable item lists for a year-month picker.
Return
A YearMonthPickerItems instance with the specified item lists.
Parameters
year Items
Year values available for selection. Values must be in 1000..9999.
month Items
Month values available for selection. Values must be in 1..12.
min Year Month
The earliest selectable year/month, inclusive. Pass null to omit the lower bound.
max Year Month
The latest selectable year/month, inclusive. Pass null to omit the upper bound.