inline operator fun LocalDateTime.component1(): LocalDate
Return the LocalDate of this LocalDateTime.
This method allows to use destructuring declarations when working with date/times, for example:
val (date, time) = myDateTime
See Also
LocalDateTime.toLocalDate