Lines Matching full:year

37  * For each month tabulate the number of days elapsed in a year before the
38 * month. This assumes the internal date representation, where a year
40 * But we do need a special table for the year 1582, since 10 days are
60 static int firstweek(int year);
64 * March 1st of year zero.
73 * Compute the year by starting with an approximation not smaller in jdate()
75 * year which does not begin after ndays. in jdate()
84 * Set r to the days left in the year and compute the month by in jdate()
100 * Return the number of days since March 1st of the year zero.
127 * days since March 1st, year zero. The date computed will be Julian if it
138 * Compute the year by starting with an approximation not smaller in gdate()
139 * than the answer and search linearly for the greatest year not in gdate()
152 * of days that elapsed in the year before that month. Here the in gdate()
153 * year 1582 is special, as 10 days are left out in October to in gdate()
156 * table month1s for this year. in gdate()
178 * Return the number of days since March 1st of the year zero. The date is
211 * This makes the average length of a year in ndaysgi()
213 * year measures 365.2422d. So in 10000/3 years we are in ndaysgi()
215 * (d is the average length of a day and tropical year is the in ndaysgi()
228 * Compute the week number from the number of days since March 1st year 0.
229 * The weeks are numbered per year starting with 1. If the first
230 * week of a year includes at least four days of that year it is week 1,
231 * otherwise it gets the number of the last week of the previous year.
232 * The variable y will be filled with the year that contains the greater
240 * next year */ in week()
247 /* return the first day of week 1 of year y */
260 * If more than 3 days of this week are in the preceding year, the in firstweek()
291 * Convert a date to internal date representation: The year starts on
293 * year zero is written as y=0, m=0, d=0.