Home | History | Annotate | Download | only in i18n

Lines Matching full:year

21     {        1,        1,  5000000,  5000000}, // YEAR
110 CECalendar::ceToJD(int32_t year, int32_t month, int32_t date, int32_t jdEpochOffset)
114 year += month/13;
118 year += month/13 - 1;
123 + 365 * year // number of days from years
124 + ClockMath::floorDivide(year, 4) // extra day of leap year
131 CECalendar::jdToCE(int32_t julianDay, int32_t jdEpochOffset, int32_t& year, int32_t& month, int32_t& day)
133 int32_t c4; // number of 4 year cycle (1461 days)
134 int32_t r4; // remainder of 4 year cycle, always positive
138 year = 4 * c4 + (r4/365 - r4/1460); // 4 * <number of 4year cycle> + <years within the last cycle>
140 int32_t doy = (r4 == 1460) ? 365 : (r4 % 365); // days in present year