public function setDayOfMonth($dayOfMonth)
    {
        if (!preg_match(self::$_regex['dayOfMonth'], $dayOfMonth)) {
            throw new \InvalidArgumentException(sprintf('DayOfMonth "%s" is incorect', $dayOfMonth));
        }

        $this->dayOfMonth = $dayOfMonth;

        return $this->generateHash();
    }
public function setDayOfMonth($dayOfMonth)
    {
        if (!preg_match(self::$_regex['dayOfMonth'], $dayOfMonth)) {
            throw new \InvalidArgumentException(sprintf('DayOfMonth "%s" is incorect', $dayOfMonth));
        }

        $this->dayOfMonth = $dayOfMonth;

        return $this->generateHash();
    }
public function setDayOfMonth ( $ dayOfMonth ) { if ( ! preg_match ( self :: $ _regex [ 'dayOfMonth' ] , $ dayOfMonth ) ) { throw new \ InvalidArgumentException ( sprintf ( 'DayOfMonth "%s" is incorect' , $ dayOfMonth ) ) ; } $ this -> dayOfMonth = $ dayOfMonth ; return $ this -> generateHash ( ) ; }
Set the day of month

@param string

@return Job
Set the day of month