Marc Knaup
12/15/2020, 9:03 PMkotlinx-datetime
now I’ve scrapped my own date/time implementation and instead build on top of the official library. The goal is to provide missing functionality until kotlinx-datetime
itself catches up 😁
It could be seen as a playground for experimenting with additions to the official library. Let’s give it a little push 💪
Notable additions so far:
• LocalTime
- similar to the existing LocalDate
and LocalDateTime
• (LocalDate|LocalDateTime|LocalTime|Instant).parseOrNull(String)
- like parse()
but returns null
instead of throwing
• TimeZone.ofOrNull(String)
- like of()
but returns null
instead of throwing
• (LocalDate|LocalDateTime|LocalTime|Instant|TimeZone)Serializer
- for use with kotlinx-serialization
https://github.com/fluidsonic/fluid-time
Anyone else working with kotlinx-datetime
already and would like to fill some gaps?