def __get_daily_source_begin_date(self, period, source_first_day): if period == 'all': return source_first_day elif period == 'recent': return str(date_util.get_yesterday()) elif period == 'long': return str(date_util.get_last_month())
def __get_daily_source_end_date(self, period): return str(date_util.get_yesterday())