src/Utils/TimeTools.php
public static function isBetween($date, $from, $to, $strict = false)
  {
    $operator = $strict ? '<' : '<=';
    return static::compare($from, $date, $operator) && static::compare($date, $to, $operator);
  }
public static function isBetween($date, $from, $to, $strict = false)
  {
    $operator = $strict ? '<' : '<=';
    return static::compare($from, $date, $operator) && static::compare($date, $to, $operator);
  }
Retourne TRUE si $date est entre $from et $to

@param  string|DateTime $date    Date à vérifier
@param  string|DateTime $from    Date de début de la plage
@param  string|DateTime $to      Date de fin de la plage
@param  boolean         $strict  (optional) TRUE pour exclure les limites
@return boolean                  Si TRUE : $from <(=) $date <(=) $to