years 33 include/crm/common/iso8601_internal.h int years; years 71 lib/common/iso8601.c int years; // Calendar year (date/time) or number of years (duration) years 92 lib/common/iso8601.c utc->years = dt->years; years 145 lib/common/iso8601.c return (t != NULL) && (t->years || t->months || t->days || t->seconds years 346 lib/common/iso8601.c for (lpc = 1; lpc < utc->years; lpc++) { years 386 lib/common/iso8601.c if(dt->years != 0) { years 388 lib/common/iso8601.c int mdays = crm_time_days_in_month(months, dt->years); years 405 lib/common/iso8601.c *y = dt->years; years 408 lib/common/iso8601.c crm_trace("%.4d-%.3d -> %.4d-%.2d-%.2d", dt->years, dt->days, dt->years, months, days); years 415 lib/common/iso8601.c *y = dt->years; years 429 lib/common/iso8601.c int jan1 = crm_time_january1_weekday(dt->years); years 441 lib/common/iso8601.c year_num = dt->years - 1; years 445 lib/common/iso8601.c year_num = dt->years; years 449 lib/common/iso8601.c if (year_num == dt->years) { years 455 lib/common/iso8601.c year_num = dt->years + 1; years 461 lib/common/iso8601.c if (year_num == dt->years) { years 472 lib/common/iso8601.c dt->years, dt->days, *y, *w, *d); years 513 lib/common/iso8601.c if (dt->years) { years 515 lib/common/iso8601.c dt->years, pcmk__plural_s(dt->years)); years 926 lib/common/iso8601.c dt->years = 1970; years 957 lib/common/iso8601.c dt->years = year; years 983 lib/common/iso8601.c dt->years = year; years 1020 lib/common/iso8601.c dt->years = year; years 1171 lib/common/iso8601.c diff->years = an_int; years 1390 lib/common/iso8601.c target->years = source->years; years 1409 lib/common/iso8601.c target->years = 0; years 1418 lib/common/iso8601.c target->years = 1900; years 1515 lib/common/iso8601.c crm_time_add_years(answer, utc->years); years 1668 lib/common/iso8601.c crm_time_add_years(answer, -utc->years); years 1696 lib/common/iso8601.c crm_time_add_years(answer, -utc->years); years 1718 lib/common/iso8601.c && (dt->days > 0) && (dt->days <= year_days(dt->years)) years 1749 lib/common/iso8601.c do_cmp_field(t1, t2, years); years 1790 lib/common/iso8601.c #define ydays(t) (crm_time_leapyear((t)->years)? 366 : 365) years 1803 lib/common/iso8601.c crm_trace("Adding %d days to %.4d-%.3d", extra, a_time->years, a_time->days); years 1807 lib/common/iso8601.c if ((a_time->years + 1LL) > INT_MAX) { years 1812 lib/common/iso8601.c a_time->years++; years 1818 lib/common/iso8601.c if ((a_time->years - 1) < 1) { years 1822 lib/common/iso8601.c a_time->years--; years 1865 lib/common/iso8601.c a_time->years = y; years 1895 lib/common/iso8601.c if ((extra > 0) && ((a_time->years + (long long) extra) > INT_MAX)) { years 1896 lib/common/iso8601.c a_time->years = INT_MAX; years 1897 lib/common/iso8601.c } else if ((extra < 0) && ((a_time->years + (long long) extra) < 1)) { years 1898 lib/common/iso8601.c a_time->years = 1; // Clip to earliest we can handle (no BCE) years 1900 lib/common/iso8601.c a_time->years += extra; years 1908 lib/common/iso8601.c .tm_year = source->years - 1900, years 1942 lib/common/iso8601.c .years = dt->years, years 1959 lib/common/iso8601.c .years = hr_dt->years, years 20 lib/common/tests/iso8601/crm_time_add_years_test.c assert_add_years(const char *orig_date_time, int years, years 29 lib/common/tests/iso8601/crm_time_add_years_test.c crm_time_add_years(orig, years); years 221 maint/gnulib/lib/mktime.c long_int years = year1 - year0; years 222 maint/gnulib/lib/mktime.c long_int days = 365 * years + yday1 - yday0 + intervening_leap_days; years 351 maint/gnulib/lib/nstrftime.c int years = a->tm_year - b->tm_year; years 352 maint/gnulib/lib/nstrftime.c int days = (365 * years + intervening_leap_days years 1336 maint/gnulib/lib/parse-datetime.y int years = a->tm_year - b->tm_year; years 1337 maint/gnulib/lib/parse-datetime.y int days = (365 * years + intervening_leap_days years 87 maint/gnulib/tests/test-parse-datetime.c long int years = ayear - b->tm_year; years 88 maint/gnulib/tests/test-parse-datetime.c long int days = (365 * years + intervening_leap_days