def calc_DST_end_utc_secs(year, timezone):
    """ Calculates end of US Daylight Savings Time for year and timezone. """
    if year <= 2006:
        return calc_DST_utc_secs((year, OCT, 25, 2, 0, 0, 0, 0, 0), timezone, True)
    else:
        return calc_DST_utc_secs((year, NOV, 1, 2, 0, 0, 0, 0, 0), timezone, True)
 Calculates end of US Daylight Savings Time for year and timezone. 
recipes/Python/576546_DateTimeSyncer_Daylight_Savings_Time/recipe-576546.py