public IEnumerable<ComplexZmanimCalendar> GetDaysInHebrewMonth(DateTime yearAndMonth, GeoLocation location)
{
Calendar calendar = new HebrewCalendar();
var daysInMonth = calendar.GetDaysInMonth(calendar.GetYear(yearAndMonth), calendar.GetMonth(yearAndMonth));
for (int i = 0; i < daysInMonth; i++)
{
var zmanimCalendar = new ComplexZmanimCalendar(location);
zmanimCalendar.DateWithLocation.Date = new DateTime(yearAndMonth.Year, yearAndMonth.Month, i + 1);
yield return zmanimCalendar;
}
}