toTemporal

Converts the given Android date/time into java time temporal object.

Return

LocalDate in case of an all-day event, Instant in case of a non-all-day event using UTC as time zone, ZonedDateTime otherwise.