MCPcopy Create free account
hub / github.com/apache/fory / WriteData

Method WriteData

csharp/src/Fory/TimeSerializers.cs:96–100  ·  view source on GitHub ↗
(WriteContext context, in DateOnly value, bool hasGenerics)

Source from the content-addressed store, hash-verified

94 public override DateOnly DefaultValue => new(1970, 1, 1);
95
96 public override void WriteData(WriteContext context, in DateOnly value, bool hasGenerics)
97 {
98 _ = hasGenerics;
99 TimeCodec.WriteDate(context, value);
100 }
101
102 public override DateOnly ReadData(ReadContext context)
103 {

Callers

nothing calls this directly

Calls 1

WriteDateMethod · 0.80

Tested by

no test coverage detected