Support java.time

In Android, it is now possible to use LocalDateTime, ZonedDateTime, LocalDate, and OffsetDateTime with coreLibraryDesugaring. Couchbase should as well.

Thank you for your input.

What is it that you would like to do with those types? Is there anything that you could not do by calling toEpochSecond to convert to a type that Couchbase uses?

Recall that Couchbase Lite still supports Android 19 and will update that only to Android 23 in the next release. Desugaring, as I understand it, works only with the Studio plug-in. I don’t think we can guarantee that our clients are using Studio…

Edited: Nope! It’s the Gradle plugin. Will suggest this as an enhancement for a future release.