Lines Matching defs:year
2015 zic_t year;
2023 if (sscanf(cp, "%"SCNdZIC"%c", &year, &xs) != 1) {
2027 error(_("invalid leaping year"));
2031 if (!leapseen || leapmaxyear < year)
2032 leapmaxyear = year;
2033 if (!leapseen || leapminyear > year)
2034 leapminyear = year;
2038 while (j != year) {
2039 if (year > j) {
2055 i = len_months[isleap(year)][j];
2061 day <= 0 || day > len_months[isleap(year)][month]) {
2192 warning(_("FROM year \"%s\" is obsolete;"
2199 error(_("invalid starting year"));
2214 error(_("invalid ending year"));
2218 error(_("starting year greater than ending year"));
2222 error(_("year type \"%s\" is unsupported; use \"-\" instead"),
2987 compatibility indicator (a TZDB release year) if successful, a
3033 /* Standard time all year. */
3036 /* DST all year. Use an abbreviation like
3037 "XXX3EDT4,0/0,J365/23" for EDT (-04) all year. */
3041 /* Positive DST, the typical case for all-year DST.
3246 zic_t year;
3247 for (year = min_year; year <= max_year; ++year) {
3248 if (useuntil && year > zp->z_untilrule.r_hiyear)
3251 ** Mark which rules to do in the current year.
3252 ** For those to do, calculate rpytime(rp, year);
3261 rp->r_todo = year >= rp->r_loyear &&
3262 year <= rp->r_hiyear;
3264 rp->r_temp = rpytime(rp, year);
3267 || year <= max_year0);
3294 ** that takes effect earliest in the year.
3327 break; /* go on to next year */
3448 ** near the end of the 400-year period, add a redundant
3449 ** one at the end of the final year, to make it clear
3796 ** Given a rule, and a year, compute the date (in seconds since January 1,
3797 ** 1970, 00:00 LOCAL time) in that year that the rule refers to.
3839 error(_("use of 2/29 in non leap-year"));