YearMonthPickerState

constructor(initialYear: Int, initialMonth: Int)

Parameters

initialYear

The initial year to be selected. Must be in 1000..9999.

initialMonth

The initial month to be selected.


constructor(initialYearMonth: YearMonth)

Creates a YearMonthPickerState from initialYearMonth.


constructor(initialDate: LocalDate)

Creates a YearMonthPickerState from the year/month portion of initialDate.

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