Home | History | Annotate | Download | only in nspr

Lines Matching full:tm_month

117     st.wMonth = static_cast<WORD>(exploded->tm_month + 1);
146 gregorian_date.month = exploded->tm_month + 1;
171 exp_tm.tm_mon = exploded->tm_month;
179 !(exploded->tm_year == 1969 && exploded->tm_month == 11 &&
298 time->tm_month--;
299 if (time->tm_month < 0) {
300 time->tm_month = 11;
307 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month];
318 nDays[IsLeapYear(time->tm_year)][time->tm_month]) {
320 time->tm_month++;
321 if (time->tm_month > 11) {
322 time->tm_month = 0;
385 if (time->tm_month < 0 || time->tm_month >= 12) {
386 time->tm_year += static_cast<PRInt16>(time->tm_month / 12);
387 time->tm_month %= 12;
388 if (time->tm_month < 0) {
389 time->tm_month += 12;
400 time->tm_month--;
401 if (time->tm_month < 0) {
402 time->tm_month = 11;
405 time->tm_mday += nDays[IsLeapYear(time->tm_year)][time->tm_month];
408 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month];
412 time->tm_month++;
413 if (time->tm_month > 11) {
414 time->tm_month = 0;
417 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month];
423 lastDayOfMonth[IsLeapYear(time->tm_year)][time->tm_month]);
1148 result->tm_month = (((int)month) - ((int)TT_JAN));
1174 PR_ASSERT(result->tm_month > -1 &&
1199 localTime.tm_mon = result->tm_month;