Searched refs:nDays (Results 1 – 2 of 2) sorted by relevance
121 static const PRInt8 nDays[2][12] = { variable238 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in ApplySecOffset()249 nDays[IsLeapYear(time->tm_year)][time->tm_month]) { in ApplySecOffset()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()348 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
524 uint16_t nDays = in GetWeekDay() local526 nDays += month_day[month - 1] + day; in GetWeekDay()528 nDays++; in GetWeekDay()529 return nDays % 7; in GetWeekDay()543 uint16_t nDays = 0; in GetWeekOfYear() local545 nDays += GetSolarMonthDays(year, i); in GetWeekOfYear()547 nDays += day; in GetWeekOfYear()550 week_index += nDays / 7; in GetWeekOfYear()551 nDays = nDays % 7; in GetWeekOfYear()552 if (week_day + nDays > 7) in GetWeekOfYear()[all …]