Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/wtf/
DDateMath.cpp175 int approxYear = static_cast<int>(floor(ms / (msPerDay * 365.2425)) + 1970); in msToYear() local
176 double msFromApproxYearTo1970 = msPerDay * daysFrom1970ToYear(approxYear); in msToYear()
178 return approxYear - 1; in msToYear()
179 if (msFromApproxYearTo1970 + msPerDay * daysInYear(approxYear) <= ms) in msToYear()
180 return approxYear + 1; in msToYear()
181 return approxYear; in msToYear()