Lines Matching refs:tm_month

229             time->tm_month--;  in ApplySecOffset()
230 if (time->tm_month < 0) { in ApplySecOffset()
231 time->tm_month = 11; in ApplySecOffset()
238 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in ApplySecOffset()
249 nDays[IsLeapYear(time->tm_year)][time->tm_month]) { in ApplySecOffset()
251 time->tm_month++; in ApplySecOffset()
252 if (time->tm_month > 11) { in ApplySecOffset()
253 time->tm_month = 0; in ApplySecOffset()
316 if (time->tm_month < 0 || time->tm_month >= 12) { in PR_NormalizeTime()
317 time->tm_year += static_cast<PRInt16>(time->tm_month / 12); in PR_NormalizeTime()
318 time->tm_month %= 12; in PR_NormalizeTime()
319 if (time->tm_month < 0) { in PR_NormalizeTime()
320 time->tm_month += 12; in PR_NormalizeTime()
331 time->tm_month--; in PR_NormalizeTime()
332 if (time->tm_month < 0) { in PR_NormalizeTime()
333 time->tm_month = 11; in PR_NormalizeTime()
336 time->tm_mday += nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
339 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
343 time->tm_month++; in PR_NormalizeTime()
344 if (time->tm_month > 11) { in PR_NormalizeTime()
345 time->tm_month = 0; in PR_NormalizeTime()
348 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
354 lastDayOfMonth[IsLeapYear(time->tm_year)][time->tm_month]); in PR_NormalizeTime()
1079 result->tm_month = (((int)month) - ((int)TT_JAN)); in PR_ParseTimeString()
1105 PR_ASSERT(result->tm_month > -1 && in PR_ParseTimeString()
1130 localTime.tm_mon = result->tm_month; in PR_ParseTimeString()