public DateTime[] AllowedDates(DateRange range) => range .Dates() .Where(d => IsInRange(d)) .ToArray();