📅  最后修改于: 2022-03-11 14:48:17.361000             🧑  作者: Mango
public IEnumerable EachDay(DateTime from, DateTime thru)
{
for(var day = from.Date; day.Date <= thru.Date; day = day.AddDays(1))
yield return day;
}