Searched refs:first_day (Results 1 – 3 of 3) sorted by relevance
596 first_day, days_in_month = calendar.monthrange(year, self.m)605 month_day = (self.d - (first_day + 1)) % 7 + 1
1175 int8_t first_day = (ymd_to_ord(year, self->month, 1) + 6) % 7; in calendarrule_year_to_timestamp() local1188 int8_t month_day = ((int8_t)(self->day) - (first_day + 1)) % 7; in calendarrule_year_to_timestamp()
382 int first_day = ymd_to_ord(year, 1, 1); /* ord of 1/1 */ in iso_week1_monday() local384 int first_weekday = (first_day + 6) % 7; in iso_week1_monday()386 int week1_monday = first_day - first_weekday; in iso_week1_monday()