/**
* @var int
*/
protected $days;
/**
* @param string $direction
* @param int $days
*/
public function __construct($direction,
$days) { Assertion::
integerish($days);
Assertion::
choice($direction,
[self::DIRECTION_PAST, self::DIRECTION_FUTURE
]);
$this->direction =
$direction;
$this->days =
(int) $days;
} /**
* Defines the unique name for the facet for re identification.
*
* @return string
*/
public function getName() {