toNSDateComponents

fun LocalDate.toNSDateComponents(): <Error class: unknown class>(source)

Converts the given LocalDate to NSDateComponents.

Of all the fields, only the bare minimum required for uniquely identifying the date are set.


fun LocalDateTime.toNSDateComponents(): <Error class: unknown class>(source)

Converts the given LocalDate to NSDateComponents.

Of all the fields, only the bare minimum required for uniquely identifying the date and time are set.