def cron_dow_to_calendar(cron_values):
    """ Converts a cron index day of week to a calendar index day of week. """
    if type(cron_values) in [str, int]:
        cron_values = [int(cron_values)]
    calendar_days = []
    for value in cron_values:
        calendar_days.append({(1): 6, (2): 0, (3): 1, (4): 2, (5): 3, (6): 
            4, (7): 5}[int(value)])
    return list(calendar_days)
