public function matches($rangeList)
 {
     foreach (\util\Utility::parseRange($rangeList) as $range) {
         $range = self::normalize_range($range);
         if (count($range) === 1) {
             if ($this->equals($range[0])) {
                 return true;
             }
         } else {
             $min = $range[0];
             $max = $range[1];
             if ($this->equals($min) || $this->equals($max) || $this->greaterThan($min) && $this->lessThan($max)) {
                 return true;
             }
         }
     }
     return false;
 }
 public function matches($range)
 {
     foreach (\util\Utility::parseRange($range) as $r) {
         if (count($r) === 1) {
             if ($this->equals($r[0])) {
                 return true;
             }
         } else {
             if ($this->greaterThan($r[0]) && $this->lessThan($r[1])) {
                 return true;
             }
         }
     }
     return false;
 }