Lines Matching refs:day
15 # there will be more than 25 hours per day and so some other scheme
165 # ss_mday - day of the month (1-31)
169 # ss_wday - day of week (0-Sunday to 6-Saturday)
194 # Standard day epochs, suitable for epoch_days.
201 quadcentury, century, quadyear, year, month, day)
208 day = epoch_days + int(sstamp / (24 * 60 * 60))
210 # Compute a year-month-day date with days of the month numbered
212 # start March 1 and end after the last day of February. A quad-year
214 # the last day of February 4 years later. A century starts on and
219 # Any variation is in the last day of the time period (there might
222 quadcentury = int(day / ss_quadcentury_days)
223 day -= quadcentury * ss_quadcentury_days
224 ss_wday = (day + 3) % 7
225 century = int(day / ss_century_days)
227 day -= century * ss_century_days
228 quadyear = int(day / ss_quadyear_days)
229 day -= quadyear * ss_quadyear_days
230 year = int(day / ss_year_days)
232 day -= year * ss_year_days
234 if (day < ss_mon_days[month])
236 day -= ss_mon_days[month]
239 # Convert the date to a conventional day of month (1-31),
241 ss_mday = day + 1