core-ktx / androidx.time / java.time.YearMonth

Extensions for java.time.YearMonth

component1

operator fun YearMonth.component1(): Int

Return the year component of this YearMonth.

component2

operator fun YearMonth.component2(): Month

Return the Month component of this YearMonth.