Searched refs:days_before_year (Results 1 – 3 of 3) sorted by relevance
531 days_before_year = _post_epoch_days_before_year(year)537 epoch = (days_before_year + d) * 86400
1275 int64_t days_before_year = ymd_to_ord(year, 1, 1) - EPOCHORDINAL - 1; in dayrule_year_to_timestamp() local1293 return ((days_before_year + day) * 86400) + (self->hour * 3600) + in dayrule_year_to_timestamp()2179 int days_before_year = (y * 365) + (y / 4) - (y / 100) + (y / 400); in ymd_to_ord() local2185 return days_before_year + yearday + d; in ymd_to_ord()
260 days_before_year(int year) in days_before_year() function366 return days_before_year(year) + days_before_month(year, month) + day; in ymd_to_ord()6658 assert(DI4Y == days_before_year(4+1)); in _datetime_exec()6664 assert(DI400Y == days_before_year(400+1)); in _datetime_exec()6670 assert(DI100Y == days_before_year(100+1)); in _datetime_exec()