def METHOD_NAME(request, response):
    """Extends the response dictionary with rounds times.
    Extends the dictionary with keys:
    ``time``: the number of seconds elapsed since the epoch
    ``round_start_date``: the number of seconds between the epoch
    and the start of the current round if any exists; otherwise 0
    ``round_end_date`` the number of seconds between the epoch
    and the end of the current round if any exists; otherwise 0
    ``is_admin_time_set``: ``True`` if admin changes the time
    """
    timestamp = getattr(request, 'timestamp', None)
    contest = getattr(request, 'contest', None)
    response.update(
        dict(
            time=0,
            round_start_date=0,
            round_end_date=0,
            is_time_admin=False,
            is_admin_time_set=False,
        )
    )
    if getattr(request, 'real_user', None) and is_real_superuser(request):
        response['is_time_admin'] = True
        response['sync_time'] = min(10000, response.get('sync_time', 10000))
    next_rounds_times = None
    current_rounds_times = None
    if timestamp and contest:
        rtimes = get_round_times(request)
        next_rounds_times = [
            (rt, round) for (rt, round) in rtimes if rt.is_future(timestamp)
        ]
        next_rounds_times.sort(key=lambda rt_round: rt_round[0].get_start())
        current_rounds_times = [
            (rt, round)
            for (rt, round) in rtimes
            if rt.is_active(timestamp) and rt.get_end()
        ]
        current_rounds_times.sort(key=lambda rt_round1: rt_round1[0].get_end())
    if current_rounds_times:
        response['round_start_date'] = time.mktime(
            (timezone.localtime(current_rounds_times[0][0].get_start())).timetuple()
        )
        response['round_end_date'] = time.mktime(
            (timezone.localtime(current_rounds_times[0][0].get_end())).timetuple()
        )
        response['round_name'] = current_rounds_times[0][1].name
    elif next_rounds_times:
        response['round_start_date'] = time.mktime(
            (timezone.localtime(next_rounds_times[0][0].get_start())).timetuple()
        )
        response['round_name'] = next_rounds_times[0][1].name
    if 'admin_time' in request.session:
        response['is_admin_time_set'] = True
        clock_time = timestamp
    else:
        clock_time = timezone.now()
    response['time'] = time.mktime(timezone.localtime(clock_time).timetuple())
    return response