src/Service/validateService.php
public function between($value, $min, $max, $inclusive = true)
    {
        $this->errorMessage = null;
        require_once 'Zend/Validate/Between.php';
        $validator = new \Zend_Validate_Between($min, $max, $inclusive);
        $result = $validator->isValid($value);
        if (!$result) {
            $this->errorMessage = MessageHelper::getMessage("VALIDATESVC_BETWEEN", array($this->fieldNameMask, $min, $max));
        }
        return $result;
    }
public function between($value, $min, $max, $inclusive = true)
    {
        $this->errorMessage = null;
        require_once 'Zend/Validate/Between.php';
        $validator = new \Zend_Validate_Between($min, $max, $inclusive);
        $result = $validator->isValid($value);
        if (!$result) {
            $this->errorMessage = MessageHelper::getMessage("VALIDATESVC_BETWEEN", array($this->fieldNameMask, $min, $max));
        }
        return $result;
    }
Built-in \Zend between check.  Returns true if and only if $value is between the minimum and maximum boundary values.

@param integer $value
@param integer $min
@param mixed $max
@param boolean $inclusive

@return boolean Valid?