setMonth

open fun setMonth(month: Int)

Sets the month for the selected date.

The new date must be valid. For example, setting 1 (February) for the month when the day is 31, fails.

Since

4.14

Parameters

month

The desired month for the selected date (as a number between 0 and 11).