Searched refs:is_leap (Results 1 – 1 of 1) sorted by relevance
116 bool is_leap = (!yd1 || yd2) && !yd3; in YearMonthDayFromDays() local119 ASSERT(is_leap || (days >= 0)); in YearMonthDayFromDays()120 ASSERT((days < 365) || (is_leap && (days < 366))); in YearMonthDayFromDays()121 ASSERT(is_leap == ((*year % 4 == 0) && (*year % 100 || (*year % 400 == 0)))); in YearMonthDayFromDays()122 ASSERT(is_leap || ((DaysFromYearMonth(*year, 0) + days) == save_days)); in YearMonthDayFromDays()123 ASSERT(!is_leap || ((DaysFromYearMonth(*year, 0) + days + 1) == save_days)); in YearMonthDayFromDays()125 days += is_leap; in YearMonthDayFromDays()128 if (days >= 31 + 28 + is_leap) { in YearMonthDayFromDays()129 days -= 31 + 28 + is_leap; in YearMonthDayFromDays()