jan1 174 lib/common/iso8601.c int jan1 = 1 + (((((C / 100) % 4) * 5) + G) % 7); jan1 177 lib/common/iso8601.c crm_trace("January 1 %.4d: %d", year, jan1); jan1 178 lib/common/iso8601.c return jan1; jan1 185 lib/common/iso8601.c int jan1 = crm_time_january1_weekday(year); jan1 188 lib/common/iso8601.c if (jan1 == 4) { jan1 191 lib/common/iso8601.c jan1 = crm_time_january1_weekday(year + 1); jan1 193 lib/common/iso8601.c if (jan1 == 5) { jan1 404 lib/common/iso8601.c int jan1 = crm_time_january1_weekday(dt->years); jan1 410 lib/common/iso8601.c h = dt->days + jan1 - 1; jan1 414 lib/common/iso8601.c if (dt->days <= (8 - jan1) && jan1 > 4) { jan1 415 lib/common/iso8601.c crm_trace("year--, jan1=%d", jan1); jan1 429 lib/common/iso8601.c crm_trace("year++, jan1=%d, i=%d vs. %d", jan1, dmax - dt->days, correction); jan1 437 lib/common/iso8601.c int j = dt->days + (7 - *d) + (jan1 - 1); jan1 440 lib/common/iso8601.c if (jan1 > 4) { jan1 862 lib/common/iso8601.c int jan1 = crm_time_january1_weekday(year); jan1 865 lib/common/iso8601.c year, jan1, week, day, date_str); jan1 870 lib/common/iso8601.c if (jan1 <= 4) { jan1 871 lib/common/iso8601.c crm_time_add_days(dt, 1 - jan1); jan1 873 lib/common/iso8601.c crm_time_add_days(dt, 8 - jan1);