Home
last modified time | relevance | path

Searched refs:week_of_year (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/
D_strptime.py278 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): argument
292 if week_of_year == 0:
295 days_to_week = week_0_length + (7 * (week_of_year - 1))
343 week_of_year = -1
414 week_of_year = int(found_dict[group_key])
444 if julian is None and week_of_year != -1 and weekday is not None:
446 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
/external/python/cpython3/Lib/
D_strptime.py272 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): argument
286 if week_of_year == 0:
289 days_to_week = week_0_length + (7 * (week_of_year - 1))
363 iso_week = week_of_year = None
439 week_of_year = int(found_dict[group_key])
497 elif week_of_year is None and iso_week is not None:
518 if week_of_year is not None:
520 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,