Lines Matching refs:tm_year
151 numDays = DAYS_BETWEEN_YEARS(1970, copy.tm_year); in PR_ImplodeTime()
232 time->tm_year--; in ApplySecOffset()
233 if (IsLeapYear(time->tm_year)) 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()
254 time->tm_year++; in ApplySecOffset()
317 time->tm_year += static_cast<PRInt16>(time->tm_month / 12); in PR_NormalizeTime()
321 time->tm_year--; in PR_NormalizeTime()
334 time->tm_year--; 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()
346 time->tm_year++; 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()
356 numDays = DAYS_BETWEEN_YEARS(1970, time->tm_year) + time->tm_yday; in PR_NormalizeTime()
1081 result->tm_year = static_cast<PRInt16>(year); in PR_ParseTimeString()
1124 if (result->tm_year >= 1970) in PR_ParseTimeString()
1131 localTime.tm_year = result->tm_year - 1900; in PR_ParseTimeString()
1153 if (result->tm_year >= 3000) { in PR_ParseTimeString()