Searched refs:yearsToAddBy400Rule (Results 1 – 1 of 1) sorted by relevance
156 const double yearsToAddBy400Rule = floor(yearMinusOne / 400.0) - leapDaysBefore1971By400Rule; in daysFrom1970ToYear() local158 … return 365.0 * (year - 1970) + yearsToAddBy4Rule - yearsToExcludeBy100Rule + yearsToAddBy400Rule; in daysFrom1970ToYear()