Lines Matching refs:year
34 zend_long year, golden, solar, lunar, pfm, dom, tmp, easter, result; in _cal_easter() local
40 "|l!l", &year, &year_is_null, &method) == FAILURE) { in _cal_easter()
51 year = 1900; in _cal_easter()
53 year = 1900 + b.tm_year; in _cal_easter()
57 if (year <= 0 || year > max_year) { in _cal_easter()
64 if (gm && year < 1970) { in _cal_easter()
70 if (gm && year > 2000000000) { in _cal_easter()
77 if (gm && (year < 1970 || year > 2037)) { in _cal_easter()
84 golden = (year % 19) + 1; /* the Golden number */ in _cal_easter()
86 if ((year <= 1582 && method != CAL_EASTER_ALWAYS_GREGORIAN) || in _cal_easter()
87 …(year >= 1583 && year <= 1752 && method != CAL_EASTER_ROMAN && method != CAL_EASTER_ALWAYS_GREGORI… in _cal_easter()
90 dom = (year + (year/4) + 5) % 7; /* the "Dominical number" - finding a Sunday */ in _cal_easter()
100 dom = (year + (year/4) - (year/100) + (year/400)) % 7; /* the "Domincal number" */ in _cal_easter()
105 solar = (year-1600)/100 - (year-1600)/400; /* the solar and lunar corrections */ in _cal_easter()
106 lunar = (((year-1400) / 100) * 8) / 25; in _cal_easter()
127 te.tm_year = year-1900; in _cal_easter()