Cake\Chronos\ChronosInterface::between PHP Method

between() public method

Determines if the instance is between two others
public between ( Cake\Chronos\ChronosInterface $dt1, Cake\Chronos\ChronosInterface $dt2, boolean $equal = true ) : boolean
$dt1 Cake\Chronos\ChronosInterface The instance to compare with.
$dt2 Cake\Chronos\ChronosInterface The instance to compare with.
$equal boolean Indicates if a > and < comparison should be used or <= or >=
return boolean
    public function between(ChronosInterface $dt1, ChronosInterface $dt2, $equal = true);
ChronosInterface