Lines Matching full:year

13 	uint16_t year;		/* year (A.D.) */  member
14 uint16_t yearday; /* day of year, 1 = January 1 */
27 uint16_t year; /* year (A.D.) */ member
28 uint8_t week; /* 1..53, week in year */
83 * We deal in a 4 year cycle starting at March 1, 1900. We assume
91 #define DAYSPERYEAR (365) /* days per year */
96 #define SECSPERYEAR (365 * SECSPERDAY) /* regular year */
97 #define SECSPERLEAPYEAR (366 * SECSPERDAY) /* leap year */
98 #define SECSPERAVGYEAR 31556952 /* mean year length over 400yrs */
193 * Convert a number of elapsed month in a year into elapsed days
194 * in year.
199 * year. (Expect the resulting days to be negative, with a positive
200 * excess! But then, we need no leap year flag, either...)
220 * days in year.
222 * Note: This will give the true difference to the start of the given year,
229 * Convert the date part of a 'struct tm' (that is, year, month,
236 * Convert the date part of a 'struct calendar' (that is, year, month,
245 * number of elapsed days of that year in 'res.rem'.
257 * Given a number of elapsed days in a year and a leap year indicator,
267 * calendar'. Return 0 if the year is regular year, !0 if the year is
268 * a leap year.
275 * tm'. Return 0 if the year is regular year, !0 if the year is a leap
276 * year.
306 * convert a year number to rata die of year start
309 ntpcal_year_to_ystart(int32_t /* year */);
312 * For a given RataDie, get the RataDie of the associated year start,
322 ntpcal_rd_to_mstart(int32_t /* year */);
466 * Days in a normal 4 year leap year calendar cycle (1461).
471 * Days in a normal 100 year leap year calendar (36524). We lose a
478 * The Gregorian calendar is based on a 400 year cycle. This is the
490 * Is a Greogorian calendar year a leap year? The obvious solution is to