Lines Matching refs:year
181 static int yearistype(int year, const char * type);
286 ** Year synonyms.
316 * with finalRules[i] occurring before finalRules[i+1] in the year.
317 * Each zone need only store a start year, a standard offset, and an
522 fprintf(f, " # zone %s, offset %d, year >= %d, rule %s (%d)\n",
538 warning("year types not supported by ICU");
1262 int year, month, day;
1272 if (sscanf(cp, scheck(cp, "%d"), &year) != 1) {
1276 error(_("invalid leaping year"));
1279 if (!leapseen || leapmaxyear < year)
1280 leapmaxyear = year;
1281 if (!leapseen || leapminyear > year)
1282 leapminyear = year;
1285 while (j != year) {
1286 if (year > j) {
1302 i = len_months[isleap(year)][j];
1308 day <= 0 || day > len_months[isleap(year)][month]) {
1434 ** Year work.
1452 error(_("invalid starting year"));
1474 error(_("invalid ending year"));
1478 error(_("starting year greater than ending year"));
1485 error(_("typed single year"));
2059 ** Horrid special case: if year is 2037,
2060 year-by-year basis;
2107 register int year;
2267 } else for (year = min_year; year <= max_year; ++year) {
2268 if (useuntil && year > zp->z_untilrule.r_hiyear)
2271 ** Mark which rules to do in the current year.
2272 ** For those to do, calculate rpytime(rp, year);
2278 rp->r_todo = year >= rp->r_loyear &&
2279 year <= rp->r_hiyear &&
2280 yearistype(year, rp->r_yrtype);
2282 rp->r_temp = rpytime(rp, year);
2306 ** that takes effect earliest in the year.
2329 break; /* go on to next year */
2359 if (year >= finalRuleYear && rp == finalRule1) {
2360 /* We want to shift final year 1 year after
2361 * the actual final rule takes effect (year + 1),
2365 * begining of the year when the final rule takes
2369 * times. Thus, the transitions in year 2038 may be
2378 rp, finalRuleIndex, year + 1);
2379 /* only emit this for the first year */
2608 yearistype(year, type)
2609 const int year;
2618 (void) sprintf(buf, "%s %d %s", yitcommand, year, type);
2774 ** Given a rule, and a year, compute the date - in seconds since January 1,
2775 ** 1970, 00:00 LOCAL time - in that year that the rule refers to.
2814 error(_("use of 2/29 in non leap-year"));