With the multi-targeting introduced in #269, we're finally able to support the DateOnly and TimeOnly types introduced in .NET 5.
The approach matches what Chr.Avro currently does for other temporal types:
Prefer to serialize DateOnly and TimeOnly as ISO 8601 strings. This keeps everything consistent and also avoids (unlikely) cases where values may exceed what the .NET types can represent.
Support "date", "time-millis", and "time-millis" via TemporalBehavior.
With the multi-targeting introduced in #269, we're finally able to support the
DateOnly
andTimeOnly
types introduced in .NET 5.The approach matches what Chr.Avro currently does for other temporal types:
DateOnly
andTimeOnly
as ISO 8601 strings. This keeps everything consistent and also avoids (unlikely) cases where values may exceed what the .NET types can represent."date"
,"time-millis"
, and"time-millis"
viaTemporalBehavior
.