def expand_year(range_str):
    return expand_date_family(range_str, parse_year, year_iterator)
>>> expand_year('Wed Sep 21 10:27:58 UTC 2011..2009') == set(['20090101', '20100101', '20110101'])
dataset/ETHPy150Open practo/r5d4/r5d4/mapping_functions.py/expand_year