Lines Matching full:year
7 # timestamps this program works only to the year 2216, which is the
8 # year 1900 plus 10**10 seconds. However, in practice
10 # and so support exact integers through 2**53. By the year 2216,
12 # timestamps this program should be good until the year 285,428,681
13 # (the year 1900 plus 2**53 seconds). By then leap seconds will be
56 print "# Leap YEAR MON DAY 23:59:59 - S"
58 print "# Leap YEAR MON DAY 23:59:60 + S"
135 print "# this is typically a bit less than one year after \"updated\"."
170 # ss_year - Gregorian calendar year
171 # ss_month - month of the year (1-January to 12-December)
195 # Counts of days in a Gregorian year, quad-year, century, and quad-century.
208 quadcentury, century, quadyear, year, month, day)
217 # Compute a year-month-day date with days of the month numbered
219 # start March 1 and end after the last day of February. A quad-year
220 # starts on March 1 of a year evenly divisible by 4 and ends after
237 year = int(day / ss_year_days)
238 year -= year == 4
239 day -= year * ss_year_days
247 # month (1-12, January-December) and Gregorian year.
253 year++
255 ss_year = 1600 + quadcentury * 400 + century * 100 + quadyear * 4 + year