from typing import List


def parse_year(year: str) -> List[int]:
    """Parse a string of year(s), e.g. 2017, 2015:2017

    :param year: The string representation of a year or range of years
    :returns: List of years (integers)
    """
    # if no colon exists, single year
    if ":" not in year:
        return [int(year)]
    else:
        temp = [int(yr) for yr in year.split(":")]
        temp.sort()  # ascending
        rng = list(range(temp[0], temp[1] + 1))
        # rng.sort(reverse=True)  # descending
        return rng