Lines Matching refs:year
29 zend_long year, golden, solar, lunar, pfm, dom, tmp, easter, result; in _cal_easter() local
35 "|l!l", &year, &year_is_null, &method) == FAILURE) { in _cal_easter()
46 year = 1900; in _cal_easter()
48 year = 1900 + b.tm_year; in _cal_easter()
52 if (year <= 0 || year > max_year) { in _cal_easter()
57 if (gm && (year<1970 || year>2037)) { /* out of range for timestamps */ in _cal_easter()
62 golden = (year % 19) + 1; /* the Golden number */ in _cal_easter()
64 if ((year <= 1582 && method != CAL_EASTER_ALWAYS_GREGORIAN) || in _cal_easter()
65 …(year >= 1583 && year <= 1752 && method != CAL_EASTER_ROMAN && method != CAL_EASTER_ALWAYS_GREGORI… in _cal_easter()
68 dom = (year + (year/4) + 5) % 7; /* the "Dominical number" - finding a Sunday */ in _cal_easter()
78 dom = (year + (year/4) - (year/100) + (year/400)) % 7; /* the "Domincal number" */ in _cal_easter()
83 solar = (year-1600)/100 - (year-1600)/400; /* the solar and lunar corrections */ in _cal_easter()
84 lunar = (((year-1400) / 100) * 8) / 25; in _cal_easter()
105 te.tm_year = year-1900; in _cal_easter()