Home
last modified time | relevance | path

Searched refs:IsLeapYear (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/third_party/nspr/
Dprtime.cc255 static int IsLeapYear(PRInt16 year) in IsLeapYear() function
302 if (IsLeapYear(time->tm_year)) in ApplySecOffset()
307 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in ApplySecOffset()
318 nDays[IsLeapYear(time->tm_year)][time->tm_month]) { in ApplySecOffset()
405 time->tm_mday += nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
408 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
417 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
423 lastDayOfMonth[IsLeapYear(time->tm_year)][time->tm_month]); in PR_NormalizeTime()