Lines Matching defs:year
175 /*! Converts the \a tm data to seconds. Note that the base year is not
182 int year, month;
185 year = tm->tm_year + RTC_EPOCH_BASE_YEAR;
190 + 1461 * (year + 4800 + (month - 14) / 12) / 4
192 - 3 * ((year + 4900 + (month - 14) / 12) / 100) / 4;
202 uint32 year, month, day, l, n;
209 year = 4000 * (l + 1) / 1461001;
210 l = l - 1461 * year / 4 + 31;
215 year = 100 * (n - 49) + year + l;
219 t->tm_year = year - RTC_EPOCH_BASE_YEAR;