I have a REST server (in C#, version in Java coming) that has clients in a ton of languages (plus Swagger).
I need to (de)serialize the LocalDateTime, ZonedDateTime, & OffsetDateTime(). From playing with the code for each, I believe toString() gives me the ISO round-trippable text for each of these.
Is that correct?
If not, what should I use?
ps - We're reducing any datetime to one of the three classes above. That should handle any use case.