Property TargetHasDateOnly
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; }