Searched refs:year_adj (Results 1 – 2 of 2) sorted by relevance
1709 uint32_t year_adj = year + 4800; /* Ensure positive year, multiple of 400. */ in epoch_days() local1710 uint32_t febs = year_adj - (month <= 2 ? 1 : 0); /* Februaries since base. */ in epoch_days()1712 uint32_t days = 365 * year_adj + leap_days + month_yday[month - 1] + day - 1; in epoch_days()
1707 uint32_t year_adj = year + 4800; /* Ensure positive year, multiple of 400. */1708 uint32_t febs = year_adj - (month <= 2 ? 1 : 0); /* Februaries since base. */1710 uint32_t days = 365 * year_adj + leap_days + month_yday[month - 1] + day - 1;