Home
last modified time | relevance | path

Searched refs:weekday (Results 1 – 7 of 7) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
D_strptime.py278 first_weekday = datetime_date(year, 1, 1).weekday()
339 weekday = julian = -1
394 weekday = locale_time.f_weekday.index(found_dict['A'].lower())
396 weekday = locale_time.a_weekday.index(found_dict['a'].lower())
398 weekday = int(found_dict['w'])
399 if weekday == 0:
400 weekday = 6
402 weekday -= 1
430 if julian == -1 and week_of_year != -1 and weekday != -1:
432 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
[all …]
Dcalendar.py29 def __init__(self, weekday): argument
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
113 return datetime.date(year, month, day).weekday()
121 day1 = weekday(year, month, 1)
159 days = (date.weekday() - self.firstweekday) % 7
165 if date.month != month and date.weekday() == self.firstweekday:
175 yield (0, date.weekday())
177 yield (date.day, date.weekday())
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dcalendar.py29 def __init__(self, weekday): argument
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
113 return datetime.date(year, month, day).weekday()
121 day1 = weekday(year, month, 1)
159 days = (date.weekday() - self.firstweekday) % 7
169 if date.month != month and date.weekday() == self.firstweekday:
179 yield (0, date.weekday())
181 yield (date.day, date.weekday())
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DDates.py146 self.weekday(),
169 def weekday(self): member in Date
201 if a.weekday() != 'Tuesday':
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_datetime.py792 self.assertEqual(self.theclass(2002, 3, 4+i).weekday(), i)
795 self.assertEqual(self.theclass(1956, 1, 2+i).weekday(), i)
1563 t.weekday(),
1573 self.assertEqual(tt.tm_wday, t.weekday())
2786 self.assertEqual(d.weekday(), t.tm_wday)
3011 days_to_go = 6 - dt.weekday()
3056 assert start.weekday() == 6 and start.month == 4 and start.day <= 7
3060 assert end.weekday() == 6 and end.month == 10 and end.day >= 25
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Ddatetimemodule.c335 weekday(int year, int month, int day) in weekday() function
1092 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime()
1424 weekday(y, m, d), in build_struct_time()
2576 int dow = weekday(GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_isoweekday()
2686 int dow = weekday(GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_weekday()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Ddatetimemodule.c335 weekday(int year, int month, int day) in weekday() function
1092 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime()
1424 weekday(y, m, d), in build_struct_time()
2576 int dow = weekday(GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_isoweekday()
2686 int dow = weekday(GET_YEAR(self), GET_MONTH(self), GET_DAY(self)); in date_weekday()