DatePickerState

constructor(initialYear: Int, initialMonth: Int, initialDay: Int)

Parameters

initialYear

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

initialMonth

The initial month to be selected. Must be in 1..12.

initialDay

The initial day to be selected. Must be at least 1. Values greater than the maximum valid day for initialYear and initialMonth are clamped to that maximum.


constructor(initialDate: LocalDate)

Creates a DatePickerState from initialDate.