Searched refs:M2Y (Results 1 – 1 of 1) sorted by relevance
/freebsd/usr.bin/ncal/ |
H A D | ncal.c | 587 #define M2Y(m) ((m) / 12) macro 631 mkmonthb(M2Y(m + i), M2M(m + i) - 1, jd_flag, year + i); in monthrangeb() 640 if (printyearheader && M2Y(m) != prevyear) { in monthrangeb() 641 sprintf(s, "%d", M2Y(m)); in monthrangeb() 643 prevyear = M2Y(m); in monthrangeb() 653 L"%-ls %d", year[i].name, M2Y(m + i)); in monthrangeb() 721 mkmonthr(M2Y(m + i), M2M(m + i) - 1, jd_flag, year + i); in monthranger() 730 if (printyearheader && M2Y(m) != prevyear) { in monthranger() 731 sprintf(s, "%d", M2Y(m)); in monthranger() 733 prevyear = M2Y(m); in monthranger() [all …]
|