Lines Matching refs:years

366  * ELAPSED date units, which is the number of full years, full months
466 * than 50 years to the year Y. ("century unfolding")
556 * that somehow got lost over the last years.
865 * number into the number of elapsed years in 'res.hi' and the number
869 * regular years and a non-zero value for leap years.
879 * centuries and years in a century with one division each. This
932 /* Split off years in century -- days >= 0 here, and we're far
1008 * upper 16 bits is set after shifting to unity-based years, we
1281 * get leap years since epoch in elapsed years
1286 int32_t years
1297 sf32 = int32_sflag(years);
1298 uyear = (uint32_t)years;
1307 * here. (Only if the years are negative, of course.) Otherwise
1316 * Convert elapsed years in Era into elapsed days in Era.
1321 int32_t years
1324 return years * DAYSPERYEAR + ntpcal_leapyears_in_years(years);
1332 * excessive years that must be considered when converting the years,
1382 * Convert ELAPSED years/months/days of gregorian calendar to elapsed
1385 * If you want to convert years and days-of-year, just give a month of
1391 int32_t years,
1401 res = ntpcal_days_in_years(years + tmp.hi) + tmp.lo;
1403 res = ntpcal_days_in_years(years);
1411 * Convert ELAPSED years/months/days of gregorian calendar to elapsed
1420 int32_t years,
1429 mdays -= 2 - is_leapyear(years+1);
1434 + ntpcal_days_in_years(years + tmp.hi)
1435 - ntpcal_days_in_years(years);
1523 * years and elapsed days, then remove the elapsed days from the
1725 * The ISO8601 calendar defines a calendar of years, weeks and weekdays.
1729 * calendar the ISO8601 calendar repeats itself every 400 years, or
1734 * different approach, based directly on years and weeks.
1737 * interpolate from years to weeks over a full 400 year range; cyclic
1738 * shifts over 400 years do not provide a solution here. But it *is*
1742 * It can be shown that a conversion from years to weeks can be done
1769 * Given a number of elapsed (ISO-)years since the begin of the
1771 * the number of years.
1775 int32_t years
1786 sf32 = int32_sflag(years);
1787 yu = (uint32_t)years;
1817 * era, split this number into the number of elapsed years in res.hi
1875 /* Split off years; sw >= 0 here! The scaled weeks in the years
1882 /* assemble elapsed years and downscale the elapsed weeks in
1931 ds = isocal_split_eraweeks(ds.hi); /* elapsed years&week*/
2156 * 1) The Gregorian calendar has a cycle of 400 years.