Lines Matching refs:year
29 zend_long year, golden, solar, lunar, pfm, dom, tmp, easter, result; in _cal_easter() local
34 "|l!l", &year, &year_is_null, &method) == FAILURE) { in _cal_easter()
45 year = 1900; in _cal_easter()
47 year = 1900 + b.tm_year; in _cal_easter()
51 if (gm && (year<1970 || year>2037)) { /* out of range for timestamps */ in _cal_easter()
56 golden = (year % 19) + 1; /* the Golden number */ in _cal_easter()
58 if ((year <= 1582 && method != CAL_EASTER_ALWAYS_GREGORIAN) || in _cal_easter()
59 …(year >= 1583 && year <= 1752 && method != CAL_EASTER_ROMAN && method != CAL_EASTER_ALWAYS_GREGORI… in _cal_easter()
62 dom = (year + (year/4) + 5) % 7; /* the "Dominical number" - finding a Sunday */ in _cal_easter()
72 dom = (year + (year/4) - (year/100) + (year/400)) % 7; /* the "Domincal number" */ in _cal_easter()
77 solar = (year-1600)/100 - (year-1600)/400; /* the solar and lunar corrections */ in _cal_easter()
78 lunar = (((year-1400) / 100) * 8) / 25; in _cal_easter()
99 te.tm_year = year-1900; in _cal_easter()