Home
last modified time | relevance | path

Searched refs:first_day (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Ddatetimemodule.c346 int first_day = ymd_to_ord(year, 1, 1); /* ord of 1/1 */ in iso_week1_monday() local
348 int first_weekday = (first_day + 6) % 7; in iso_week1_monday()
350 int week1_monday = first_day - first_weekday; in iso_week1_monday()
/external/python/cpython3/Modules/
D_datetimemodule.c368 int first_day = ymd_to_ord(year, 1, 1); /* ord of 1/1 */ in iso_week1_monday() local
370 int first_weekday = (first_day + 6) % 7; in iso_week1_monday()
372 int week1_monday = first_day - first_weekday; in iso_week1_monday()