jan1 173 lib/common/iso8601.c int jan1 = 1 + (((((C / 100) % 4) * 5) + G) % 7); jan1 176 lib/common/iso8601.c crm_trace("January 1 %.4d: %d", year, jan1); jan1 177 lib/common/iso8601.c return jan1; jan1 184 lib/common/iso8601.c int jan1 = crm_time_january1_weekday(year); jan1 187 lib/common/iso8601.c if (jan1 == 4) { jan1 190 lib/common/iso8601.c jan1 = crm_time_january1_weekday(year + 1); jan1 192 lib/common/iso8601.c if (jan1 == 5) { jan1 403 lib/common/iso8601.c int jan1 = crm_time_january1_weekday(dt->years); jan1 409 lib/common/iso8601.c h = dt->days + jan1 - 1; jan1 413 lib/common/iso8601.c if (dt->days <= (8 - jan1) && jan1 > 4) { jan1 414 lib/common/iso8601.c crm_trace("year--, jan1=%d", jan1); jan1 428 lib/common/iso8601.c crm_trace("year++, jan1=%d, i=%d vs. %d", jan1, dmax - dt->days, correction); jan1 436 lib/common/iso8601.c int j = dt->days + (7 - *d) + (jan1 - 1); jan1 439 lib/common/iso8601.c if (jan1 > 4) { jan1 861 lib/common/iso8601.c int jan1 = crm_time_january1_weekday(year); jan1 864 lib/common/iso8601.c year, jan1, week, day, date_str); jan1 869 lib/common/iso8601.c if (jan1 <= 4) { jan1 870 lib/common/iso8601.c crm_time_add_days(dt, 1 - jan1); jan1 872 lib/common/iso8601.c crm_time_add_days(dt, 8 - jan1);