activity/object/object.php
public function setUpdated($date)
    {
        if (!is_null($date) && !$date instanceof KDate) {
            throw new InvalidArgumentException('Invalid date type.');
        }

        $this->updated = $date;
        return $this;
    }
public function setUpdated($date)
    {
        if (!is_null($date) && !$date instanceof KDate) {
            throw new InvalidArgumentException('Invalid date type.');
        }

        $this->updated = $date;
        return $this;
    }
public function setUpdated ( $ date ) { if ( ! is_null ( $ date ) && ! $ date instanceof KDate ) { throw new InvalidArgumentException ( 'Invalid date type.' ) ; } $ this -> updated = $ date ; return $ this ; }
Set the updated date.

@link http://activitystrea.ms/specs/json/1.0/#object See updated property.

@param KDate|null $date The updated date.
@return ComActivitiesActivityObject
Set the updated date .