Home
last modified time | relevance | path

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

/external/webkit/JavaScriptCore/wtf/
DDateMath.cpp165 const double yearsToAddBy400Rule = floor(yearMinusOne / 400.0) - leapDaysBefore1971By400Rule; in daysFrom1970ToYear() local
167 … return 365.0 * (year - 1970) + yearsToAddBy4Rule - yearsToExcludeBy100Rule + yearsToAddBy400Rule; in daysFrom1970ToYear()