Searched refs:approxYear (Results 1 – 1 of 1) sorted by relevance
175 int approxYear = static_cast<int>(floor(ms / (msPerDay * 365.2425)) + 1970); in msToYear() local176 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()