classes/phing/types/selectors/DateSelector.php
public function setWhen($cmp)
    {
        $idx = array_search($cmp, self::$timeComparisons, true);
        if ($idx === null) {
            $this->setError("Invalid value for " . self::WHEN_KEY . ": " . $cmp);
        } else {
            $this->cmp = $idx;
        }
    }
public function setWhen($cmp)
    {
        $idx = array_search($cmp, self::$timeComparisons, true);
        if ($idx === null) {
            $this->setError("Invalid value for " . self::WHEN_KEY . ": " . $cmp);
        } else {
            $this->cmp = $idx;
        }
    }
public function setWhen ( $ cmp ) { $ idx = array_search ( $ cmp , self :: $ timeComparisons , true ) ; if ( $ idx === null ) { $ this -> setError ( "Invalid value for " . self :: WHEN_KEY . ": " . $ cmp ) ; } else { $ this -> cmp = $ idx ; } }
Sets the type of comparison to be done on the file's last modified
date.

@param string $cmp The comparison to perform
Sets the type of comparison to be done on the file s last modified date .