public override string ToString() { return($"#{Number}, \"{Name}\", {Timestamp.ToString("yyyy'-'MM'-'dd")}, " + $"{NullableTimestamp?.ToString("yyyy'-'MM'-'dd") ?? "null"}, " + $"{NullableNumber?.ToString() ?? "null"}"); }
public static DateTime?ToDateTime(this NullableTimestamp value) { return(value is { TimestampCase : NullableTimestamp.TimestampOneofCase.Value }