Lines Matching refs:year
149 some of them in the same format (such as year, week and weekday)
367 /* Nonzero if YEAR is a leap year (every 4 years,
369 # define __isleap(year) \
370 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
391 /* Compute the day of the year. */
638 /* Match day number of year. */
803 /* Match year within century. */
813 /* Match year including century number. */
860 /* Match name of base year in locale's alternate
987 /* Match year within century using alternate numeric symbols. */
1009 /* Only the century, but not the year. Strange, but so be it. */
1251 /* True if YEAR is a leap year. */
1252 #define ISLEAP(year) \
1253 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0))
1271 const int year = 1900 + t->tm_year;
1275 if (year < 1970)
1278 days = 365 * (year - 1970);
1281 days += LEAPYEARS (1970, year);
1284 days += month_to_days[ISLEAP (year)][t->tm_mon];