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

Extensions for java.time.LocalDate

component1

operator fun LocalDate.component1(): Int

Return the year of this LocalDate.

component2

operator fun LocalDate.component2(): Month

Return the Month of this LocalDate.

component3

operator fun LocalDate.component3(): Int

Return the day (of the month) of this LocalDate.