Lines Matching defs:year

3506     int month, mday, year, jday;
3518 /* offset to bias by March (month 4) 1st between month/mday & year finding */
3527 * an offset into the year by considering months to have 30.6 (153/5) days,
3530 * the 13th and 14th month of the previous year. After that transformation,
3537 * arbitrary 'beginning of time' by futzing with the (adjusted) year number,
3542 * normalised values for the year, month, day-of-month, and day-of-year.
3545 * the right year value. (Basically, we don't want the contribution of
3546 * March 1st to the number to apply while deriving the year). Having done
3547 * that, we 'count up' the contribution to the year number by accounting for
3548 * full quadracenturies (400-year periods) with their extra leap days, plus
3555 * century and year contributions. If we got 4 extra centuries in a qcent,
3561 * the previous year to being in the proper year). After that, to get
3562 * tm_yday, we work with the normalised year and get a new yearday value for
3583 year = 1900 + ptm->tm_year;
3598 month+=14, year--;
3599 yearday = DAYS_PER_YEAR * year + year/4 - year/100 + year/400;
3641 * bias it by 123 while trying to figure out what year it
3648 year = (yearday / DAYS_PER_QCENT) * 400;
3651 year += odd_cent * 100;
3653 year += (yearday / DAYS_PER_QYEAR) * 4;
3656 year += odd_year;
3666 /* recover other leap-year adjustment */
3669 year++;
3675 ptm->tm_year = year - 1900;
3685 year--;
3686 yearday = year*DAYS_PER_YEAR + year/4 - year/100 + year/400;
3695 Perl_my_strftime(pTHX_ char *fmt, int sec, int min, int hour, int mday, int mon, int year, int wday, int yday, int isdst)
3709 mytm.tm_year = year;