Home
last modified time | relevance | path

Searched refs:days_before_year (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Modules/
Ddatetimemodule.c218 days_before_year(int year) in days_before_year() function
330 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()
/external/python/cpython3/Modules/
D_datetimemodule.c246 days_before_year(int year) in days_before_year() function
352 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()