Table of Contents

Property TargetHasDateOnly

Namespace
AvroSharp.CodeGen
Assembly
AvroSharp.CodeGen.dll

TargetHasDateOnly

Gets whether the target framework has System.DateOnly and System.TimeOnly (.NET 6 and later). When it does not, date maps to DateTime and time-* to TimeSpan. Defaults to true.

public bool TargetHasDateOnly { get; init; }

Property Value

bool