Searched refs:week_of_year (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/ |
D | _strptime.py | 278 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.py | 281 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): argument 295 if week_of_year == 0: 298 days_to_week = week_0_length + (7 * (week_of_year - 1)) 372 iso_week = week_of_year = None 448 week_of_year = int(found_dict[group_key]) 506 elif week_of_year is None and iso_week is not None: 527 if week_of_year is not None: 529 julian = _calc_julian_from_U_or_W(year, week_of_year, weekday,
|