DAYS_PER_400_YEARS 157 ext/calendar/gregor.c century = temp / DAYS_PER_400_YEARS; DAYS_PER_400_YEARS 160 ext/calendar/gregor.c temp = ((temp % DAYS_PER_400_YEARS) / 4) * 4 + 3; DAYS_PER_400_YEARS 231 ext/calendar/gregor.c return (((year / 100) * DAYS_PER_400_YEARS) / 4