Home | History | Annotate | Download | only in tzcode

Lines Matching full: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;
2225 * to be applied to a specific year after one of
2226 * max rule's start year. For example,
2231 * In this case, we need to change the start year of
2232 * the final (max) rules to the next year. */
2239 * Note: This may push the start year of the final
2240 * rules ahead by 1 year unnecessarily. For example,
2242 * starting in the same year, such as
2250 * final rule start year to 1 year ahead (in the worst case)
2303 } else for (year = min_year; year <= max_year; ++year) {
2304 if (useuntil && year > zp->z_untilrule.r_hiyear)
2307 ** Mark which rules to do in the current year.
2308 ** For those to do, calculate rpytime(rp, year);
2314 rp->r_todo = year >= rp->r_loyear &&
2315 year <= rp->r_hiyear &&
2316 yearistype(year, rp->r_yrtype);
2318 rp->r_temp = rpytime(rp, year);
2342 ** that takes effect earliest in the year.
2365 break; /* go on to next year */
2395 if (year >= finalRuleYear && rp == finalRule1) {
2396 /* We want to shift final year 1 year after
2397 * the actual final rule takes effect (year + 1),
2401 * begining of the year when the final rule takes
2405 * at the very end (year 2038). ICU 4.2 or older releases
2410 rp, finalRuleIndex, year + 1);
2411 /* only emit this for the first year */
2640 yearistype(year, type)
2641 const int year;
2650 (void) sprintf(buf, "%s %d %s", yitcommand, year, type);
2806 ** Given a rule, and a year, compute the date - in seconds since January 1,
2807 ** 1970, 00:00 LOCAL time - in that year that the rule refers to.
2846 error(_("use of 2/29 in non leap-year"));