Searched refs:first_weekday (Results 1 – 4 of 4) sorted by relevance
282 first_weekday = datetime_date(year, 1, 1).weekday()287 first_weekday = (first_weekday + 1) % 7291 week_0_length = (7 - first_weekday) % 7293 return 1 + day_of_week - first_weekday
285 first_weekday = datetime_date(year, 1, 1).weekday()290 first_weekday = (first_weekday + 1) % 7294 week_0_length = (7 - first_weekday) % 7296 return 1 + day_of_week - first_weekday
348 int first_weekday = (first_day + 6) % 7; in iso_week1_monday() local350 int week1_monday = first_day - first_weekday; in iso_week1_monday()352 if (first_weekday > 3) /* if 1/1 was Fri, Sat, Sun */ in iso_week1_monday()
370 int first_weekday = (first_day + 6) % 7; in iso_week1_monday() local372 int week1_monday = first_day - first_weekday; in iso_week1_monday()374 if (first_weekday > 3) /* if 1/1 was Fri, Sat, Sun */ in iso_week1_monday()