Lines Matching refs:Year
78 int yyHaveFullYear; /* if true, year is not abbreviated. */
88 time_t yyMonth; /* Month of year [1-12] */
90 time_t yyYear; /* Year, see also yyHaveFullYear */
528 { "year", tMONTH_UNIT, 12 },
758 * Adjust year from a value that might be abbreviated, to a full value.
760 * Input Year is either:
762 * - A number from 0 to 68, which means a year from 2000 to 2068,
763 * - A number from 69 to 99, which means a year from 1969 to 1999, or
764 * - The actual year (>=100).
765 * Returns the full year.
768 AdjustYear(time_t Year)
771 if (Year < 0)
772 Year = -Year;
773 if (Year < 69) /* POSIX compliant, 0..68 is 2000's, 69-99 1900's */
774 Year += 2000;
775 else if (Year < 100)
776 Year += 1900;
777 return Year;
782 time_t Month, /* month of year [1-12] */
784 time_t Year, /* year, not abbreviated in any way */
805 tm.tm_year = Year - 1900;
806 if ((time_t)tm.tm_year + 1900 != Year) {
835 (intmax_t)Month, (intmax_t)Day, (intmax_t)Year,
843 if (TM_NE(year) || TM_NE(mon) || TM_NE(mday) ||
1172 * This is good enough because we use only the year/month/day,