yearMonthPickerFormat

fun yearMonthPickerFormat(yearItemText: (Int) -> String = DefaultIntegerItemText, monthItemText: (Int) -> String = DefaultIntegerItemText, yearItemContentDescription: (Int) -> String? = null, monthItemContentDescription: (Int) -> String? = null): YearMonthPickerFormat

Creates value formatting for a year-month picker.

Return

A YearMonthPickerFormat instance with the specified value formatters.

Parameters

yearItemText

Text displayed for each year value.

monthItemText

Text displayed for each month value.

yearItemContentDescription

Optional accessibility description for each year value.

monthItemContentDescription

Optional accessibility description for each month value.