Symfony2:基于时间的控制器动作

Is it possible, to make a time-based link / controller action in symfony2 in the annotation? With a start and a stopdate!? For example:

    /**
     *@Route("/mylink", start="14.10.2015" stop="20.12.2015", name="mylink", schemes= { "http" })
    public function myLinkAction()
    {
     .....
    }

You cannot extend @Route that way but with defaults and I think the best solution without boilerplate code is a controller filter:

services.yml

services:
  time_range_route_filter:
    class: AppBundle\Services\TimeRangeRouteFilter
    tags:
      - { name: kernel.event_listener, event: kernel.controller, method: onFilterController }

DefaultController.php

class DefaultController
{
    /**
     * @Route("/", name="homepage", defaults={"start"="2015-01-01", "end"="2016-01-01"})
     */
    public function indexAction()
    {

    }
}

TimeRangeRouteFilter.php

class TimeRangeRouteFilter
{
    public function onFilterController(FilterControllerEvent $event) {
        $request = $event->getRequest();
        $attributes = $request->attributes;
        $routeParams = $attributes->get('_route_params');

        $end = $routeParams['end'];
        $start = $routeParams['start'];

        if(!/* in range */) {
            throw new NotFoundHttpException();
        }
    }
}