Lines Matching refs:day
275 """Calculate the Julian day based on the year, week of the year, and day of
280 # easier to just shift the view to Sunday being the first day of the
285 # Need to watch out for a week 0 (when the first day of the year is not
331 month = day = 1
347 # worthless without day of the week
366 day = int(found_dict['d'])
430 if year is None and month == 2 and day == 29:
435 # If we know the week of the year and what day of that week, we can figure
436 # out the Julian day of the year.
442 # calculation and thus could have different value for the day of the week
445 # Need to add 1 to result since first day of the year is 1, not 0.
446 julian = datetime_date(year, month, day).toordinal() - \
448 else: # Assume that if they bothered to include Julian day it will
453 day = datetime_result.day
455 weekday = datetime_date(year, month, day).weekday()
462 return (time.struct_time((year, month, day,