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

Extensions for java.time.ZonedDateTime

component1

operator fun ZonedDateTime.component1(): LocalDateTime

Return the LocalDateTime for this ZonedDateTime.

component2

operator fun ZonedDateTime.component2(): ZoneId

Return the ZoneId for this ZonedDateTime.