Пример #1
0
 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())
Пример #2
0
 def __get_daily_source_end_date(self, period):
     return str(date_util.get_yesterday())