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

Extensions for java.time.LocalDateTime

component1

operator fun LocalDateTime.component1(): LocalDate

Return the LocalDate of this LocalDateTime.

component2

operator fun LocalDateTime.component2(): LocalTime

Return the LocalTime of this LocalDateTime.