def _daily_suns(self, datetimes):
for dt in datetimes:<EOL><INDENT>nss = self.calculate_sunrise_sunset(dt.month, dt.day)<EOL>dts = tuple(nss[k] for k in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'))<EOL>if dts[<NUM_LIT:0>] is None:<EOL><INDENT>yield (self.calculate_sun(dt.month, dt.day, h) for h in (<NUM_LIT:0>, <NUM_LIT:12>,<EOL><NUM_LIT:15>)),False<EOL><DEDENT>else:<EOL><INDENT>yield (self.calculate_sun_from_date_time(dt) for dt in dts), True<EOL><DEDENT><DEDENT>
Get sun curve for multiple days of the year.