Lines Matching refs:tm_mon
33 #define DAYS(p) (tm_data.days[(p)->tm_mon]+((p)->tm_mon==1&&LEAP(p)))
108 if (tm->tm_mon >= 12)
110 tm->tm_year += tm->tm_mon / 12;
111 tm->tm_mon %= 12;
113 else if (tm->tm_mon < 0)
116 if ((tm->tm_mon += 12) < 0)
118 tm->tm_year += tm->tm_mon / 12;
119 tm->tm_mon = (-tm->tm_mon) % 12;
134 if (--tm->tm_mon < 0)
136 tm->tm_mon = 11;
144 if (++tm->tm_mon > 11)
146 tm->tm_mon = 0;
164 tm->tm_yday = tm_data.sum[tm->tm_mon] + (tm->tm_mon > 1 && LEAP(tm)) + tm->tm_mday - 1;