public string ToString(string format) { if (string.IsNullOrWhiteSpace(format)) { format = DateTimeFormats.ShortDateFullYear; } return($"{StartDate.Format(format)} - {EndDate.Format(format)}"); }
public string ToString(string format) { if (string.IsNullOrWhiteSpace(format)) { format = DateTimeFormats.ShortDateFullYear; } return($"{StartDate.Format(format)} - {EndDate.Format(format)}"); }