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()
528 uint16_t nDays = in GetWeekDay() local530 nDays += kMonthDay[month - 1] + day; in GetWeekDay()532 nDays++; in GetWeekDay()533 return nDays % 7; in GetWeekDay()547 uint16_t nDays = 0; in GetWeekOfYear() local549 nDays += GetSolarMonthDays(year, i); in GetWeekOfYear()551 nDays += day; in GetWeekOfYear()554 week_index += nDays / 7; in GetWeekOfYear()555 nDays = nDays % 7; in GetWeekOfYear()556 if (week_day + nDays > 7) in GetWeekOfYear()[all …]