public DateTime GetNextDay() { if (ChildrenLogic.Count == 0) // if nothing to base off of, just start today { return(DateTime.Today); } DateTime nextDay = ChildrenLogic.Max(day => ((CoatingScheduleDay)day).Date); return(ShiftHandler.CoatingInstance.GetNextWorkingDay(nextDay)); }