y 88 include/crm/common/iso8601.h int crm_time_get_gregorian(crm_time_t * dt, uint32_t * y, uint32_t * m, uint32_t * d); y 89 include/crm/common/iso8601.h int crm_time_get_ordinal(crm_time_t * dt, uint32_t * y, uint32_t * d); y 90 include/crm/common/iso8601.h int crm_time_get_isoweek(crm_time_t * dt, uint32_t * y, uint32_t * w, uint32_t * d); y 1601 lib/ais/plugin.c #define min(x,y) (x)<(y)?(x):(y) y 202 lib/common/iso8601.c get_ordinal_days(uint32_t y, uint32_t m, uint32_t d) y 207 lib/common/iso8601.c d += crm_time_days_in_month(lpc, y); y 312 lib/common/iso8601.c crm_time_get_gregorian(crm_time_t * dt, uint * y, uint * m, uint * d) y 336 lib/common/iso8601.c *y = dt->years; y 344 lib/common/iso8601.c crm_time_get_ordinal(crm_time_t * dt, uint * y, uint * d) y 346 lib/common/iso8601.c *y = dt->years; y 352 lib/common/iso8601.c crm_time_get_isoweek(crm_time_t * dt, uint * y, uint * w, uint * d) y 400 lib/common/iso8601.c *y = year_num; y 401 lib/common/iso8601.c crm_trace("Converted %.4d-%.3d to %.4d-W%.2d-%d", dt->years, dt->days, *y, *w, *d); y 484 lib/common/iso8601.c uint y, w, d; y 486 lib/common/iso8601.c if (crm_time_get_isoweek(dt, &y, &w, &d)) { y 487 lib/common/iso8601.c snprintf(date_s, 34, "%u-W%.2u-%u", y, w, d); y 492 lib/common/iso8601.c uint y, d; y 494 lib/common/iso8601.c if (crm_time_get_ordinal(dt, &y, &d)) { y 495 lib/common/iso8601.c snprintf(date_s, 22, "%u-%.3u", y, d); y 500 lib/common/iso8601.c uint y, m, d; y 502 lib/common/iso8601.c if (crm_time_get_gregorian(dt, &y, &m, &d)) { y 503 lib/common/iso8601.c snprintf(date_s, 33, "%.4u-%.2u-%.2u", y, m, d); y 1226 lib/common/iso8601.c uint32_t y, m, d, dmax; y 1228 lib/common/iso8601.c crm_time_get_gregorian(a_time, &y, &m, &d); y 1229 lib/common/iso8601.c crm_trace("Adding %d months to %.4d-%.2d-%.2d", extra, y, m, d); y 1236 lib/common/iso8601.c y++; y 1244 lib/common/iso8601.c y--; y 1249 lib/common/iso8601.c dmax = crm_time_days_in_month(m, y); y 1255 lib/common/iso8601.c crm_trace("Calculated %.4d-%.2d-%.2d", y, m, d); y 1257 lib/common/iso8601.c a_time->years = y; y 1258 lib/common/iso8601.c a_time->days = get_ordinal_days(y, m, d); y 1260 lib/common/iso8601.c crm_time_get_gregorian(a_time, &y, &m, &d); y 1261 lib/common/iso8601.c crm_trace("Got %.4d-%.2d-%.2d", y, m, d); y 448 lib/pengine/rules.c uint32_t y; y 450 lib/pengine/rules.c crm_time_get_ordinal(now, &y, &diy); y 452 lib/pengine/rules.c goldn = (y % 19) + 1; y 554 lib/pengine/rules.c uint32_t h, m, s, y, d, w; y 564 lib/pengine/rules.c crm_time_get_gregorian(now, &y, &m, &d); y 568 lib/pengine/rules.c cron_check("years", y); y 570 lib/pengine/rules.c crm_time_get_ordinal(now, &y, &d); y 574 lib/pengine/rules.c crm_time_get_isoweek(now, &y, &w, &d); y 576 lib/pengine/rules.c cron_check("weekyears", y);