Home
last modified time | relevance | path

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

/third_party/python/Lib/zoneinfo/
D_zoneinfo.py596 first_day, days_in_month = calendar.monthrange(year, self.m)
605 month_day = (self.d - (first_day + 1)) % 7 + 1
/third_party/python/Modules/
D_zoneinfo.c1175 int8_t first_day = (ymd_to_ord(year, self->month, 1) + 6) % 7; in calendarrule_year_to_timestamp() local
1188 int8_t month_day = ((int8_t)(self->day) - (first_day + 1)) % 7; in calendarrule_year_to_timestamp()
D_datetimemodule.c382 int first_day = ymd_to_ord(year, 1, 1); /* ord of 1/1 */ in iso_week1_monday() local
384 int first_weekday = (first_day + 6) % 7; in iso_week1_monday()
386 int week1_monday = first_day - first_weekday; in iso_week1_monday()