public function requireDateRange($field = null, $start = null, $stop = null, $inclusive = true)
    {
        $this
            ->createDateRange()
            ->setInclusive($inclusive)
            ->setRange($start, $stop)
            ->setField($field)
        ;

        return $this;
    }
public function requireDateRange($field = null, $start = null, $stop = null, $inclusive = true)
    {
        $this
            ->createDateRange()
            ->setInclusive($inclusive)
            ->setRange($start, $stop)
            ->setField($field)
        ;

        return $this;
    }
public function requireDateRange ( $ field = null , $ start = null , $ stop = null , $ inclusive = true ) { $ this -> createDateRange ( ) -> setInclusive ( $ inclusive ) -> setRange ( $ start , $ stop ) -> setField ( $ field ) ; return $ this ; }
Require date range

@param string $field
@param int|string|\DateTime $start
Timestamp, \DateTime parsable string or \DateTime object
@param int|string|\DateTime $stop
Timestamp, \DateTime parsable string or \DateTime object
@param boolean $inclusive

@return Query
Require date range