def _calc_daystamps(self, st_time, end_time):
start_doy = sum(self._num_of_days_each_month[:st_time.month-<NUM_LIT:1>]) + st_time.day<EOL>end_doy = sum(self._num_of_days_each_month[:end_time.month-<NUM_LIT:1>]) + end_time.day + <NUM_LIT:1><EOL>return list(range(start_doy, end_doy))<EOL>
Calculate days of the year between start time and end time.

        Use this method only when start time month is before end time month.