(iso_year, iso_week, iso_weekday)
return iso_year, ordinal
Calculate the Julian day based on the ISO 8601 year, week, and weekday.
    ISO weeks start on Mondays, with week 01 being the week containing 4 Jan.
    ISO week days range from 1 (Monday) to 7 (Sunday).
Calculate the Julian day based on the ISO 8601 year, week, and weekday.
    ISO weeks start on Mondays, with week 01 being the week containing 4 Jan.
    ISO week days range from 1 (Monday) to 7 (Sunday).
Calculate the Julian day based on the ISO 8601 year week and weekday . ISO weeks start on Mondays with week 01 being the week containing 4 Jan . ISO week days range from 1 ( Monday ) to 7 ( Sunday ) .
def _calc_julian_from_V(iso_year, iso_week, iso_weekday):
    """Calculate the Julian day based on the ISO 8601 year, week, and weekday.
    ISO weeks start on Mondays, with week 01 being the week containing 4 Jan.
    ISO week days range from 1 (Monday) to 7 (Sunday).
    """
    correction = datetime_date(iso_year, 1, 4).isoweekday() + 3
    ordinal = (iso_week * 7) + iso_weekday - correction
    # ordinal may be negative or 0 now, which means the date is in the previous
    # calendar year
    if ordinal < 1:
        ordinal += datetime_date(iso_year, 1, 1).toordinal()
        iso_year -= 1
        ordinal -= datetime_date(iso_year, 1, 1).toordinal()
    return iso_year, ordinal
def _calc_julian_from_V ( iso_year , iso_week , iso_weekday ) : correction = datetime_date ( iso_year , 1 , 4 ) . isoweekday ( ) + 3 ordinal = ( iso_week * 7 ) + iso_weekday - correction # ordinal may be negative or 0 now, which means the date is in the previous # calendar year if ordinal < 1 : ordinal += datetime_date ( iso_year , 1 , 1 ) . toordinal ( ) iso_year -= 1 ordinal -= datetime_date ( iso_year , 1 , 1 ) . toordinal ( ) return iso_year , ordinal