Cake\Chronos\ChronosInterface::between PHP Méthode

between() public méthode

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 >=
Résultat boolean
    public function between(ChronosInterface $dt1, ChronosInterface $dt2, $equal = true);
ChronosInterface