Lines Matching refs:year
603 * @yearp: optional out parameter for the year
615 * On return, year, month and day are guaranteed to be in the
620 int year = 0, month = 0, day = 0;
631 * Determine year first. We assume the date string resembles
632 * mm/dd/yy[yy] but the original code extracted only the year
641 year = simple_strtoul(y, &e, 10);
642 if (y != e && year < 100) { /* 2-digit year */
643 year += 1900;
644 if (year < 1996) /* no dates < spec 1.0 */
645 year += 100;
647 if (year > 9999) /* year should fit in %04d */
648 year = 0;
663 *yearp = year;