예제 #1
0
 def get_months(self):
     return [(DateTime.strptime(str(value), '%m').strftime('%B'), value) for value in range(1, 13)]
예제 #2
0
 def get_week_days(self):
     return [(DateTime.strptime('200001{}'.format(value), '%Y%W%w').strftime('%A'), value) for value in range(7)]