Searched refs:days_before_year (Results 1 – 2 of 2) sorted by relevance
218 days_before_year(int year) in days_before_year() function330 return days_before_year(year) + days_before_month(year, month) + day; in ymd_to_ord()4890 assert(DI4Y == days_before_year(4+1)); in initdatetime()4896 assert(DI400Y == days_before_year(400+1)); in initdatetime()4902 assert(DI100Y == days_before_year(100+1)); in initdatetime()
246 days_before_year(int year) in days_before_year() function352 return days_before_year(year) + days_before_month(year, month) + day; in ymd_to_ord()6445 assert(DI4Y == days_before_year(4+1)); in PyInit__datetime()6451 assert(DI400Y == days_before_year(400+1)); in PyInit__datetime()6457 assert(DI100Y == days_before_year(100+1)); in PyInit__datetime()