Set root's created time

@param   string  $value
@return  \Paragraph\Model\Paragraph\Structure\Infobar
971355
public function setRootCreated( $value )
    {
        $content = $this->getDependentContent();

        if ( $content )
        {
            $content->created = $value;
        }

        return $this;
    }
842433
public function setCreationTimestamp(\AgentSIB\Diadoc\Api\Proto\Timestamp $value = null)
    {
        $this->CreationTimestamp = $value;
    }
870842
public function setCoreManagerWeekStart($value)
    {
        $this->setFieldName('manager_week_start');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
945929
private function createDateTime($value)
    {
        if ($value instanceof DateTime) {
            return $value;
        }
        if ($value instanceof \MongoDate) {
            $dateStr = date('Y-m-d H:i:s.'.$value->usec, $value->sec);
            return new DateTime($dateStr);
        }
        if (is_numeric($value)) {
            // Supports microseconds
            $value = (Float) $value;
            $usec = round(($value - (Integer) $value) * 1000000, 0);
            $dateStr = date('Y-m-d H:i:s.'.$usec, (Integer) $value);
            return new DateTime($dateStr);
        }
        return new DateTime((String) $value);
    }
1229678
public function setDateCreated($value) : Job
    {
        $this->validateDate('DateCreated', $value);

        if ($this->data['date_created'] !== $value) {
            $this->data['date_created'] = $value;
            $this->setModified('date_created');
        }

        return $this;
    }
770729
public function setByHour($value)
    {
        if (!is_integer($value) || $value < 0 || $value > 23) {
            throw new \InvalidArgumentException('Invalid value for BYHOUR');
        }

        $this->byHour = $value;

        $this->canUseBySetPos = true;

        return $this;
    }
154353
public function setMinCol($value)
    {
        if ($value != null) {
            $this->_params['min-col'] = $value;
        } else {
            unset($this->_params['min-col']);
        }
        return $this;
    }
906231
public function set($value = null)
	{
		$ts = sfDateTimeToolkit::getTS($value);
		
		$this->ts = $ts;
		if ($this->init === null)
		{
			$this->init = $ts;
		}
		
		return $this;
	}
126012
public function setSecond( int $value = null ) : Time
   {

      if ( \is_null( $value ) )
      {
         $this->properties[ 'second' ] = static::CurrentSecond();
         return $this;
      }

      $intValue = \intval( $value );

      if ( $intValue < 0 )
      {
         $this->properties[ 'second' ] = 0;
      }
      else if ( $intValue > 59 )
      {
         $this->properties[ 'second' ] = $intValue % 60;
      }
      else
      {
         $this->properties[ 'second' ] = $intValue;
      }

      return $this;

   }
1193405
public function setBirthdateM($value)
    {
        if ($value === null) {
            $this->parameters['birthdateM'] = null;
        } else {
            validators\Number::validate($value, 1, 12, 'Invalid birthdateM');
            $this->parameters['birthdateM'] = min(12, max(1, (int)$value));
        }
        return $this;
    }
1294796
protected function asDateTime($value)
    {
        // Legacy support for Laravel 5.0
        if (!$value instanceof Carbon) {
            return Carbon::instance($value);
        }

        return parent::asDateTime($value);
    }
630242
public function withOneTimePayment($value)
    {
        $this->oneTimePayment = $value;
        $this->transactionModifier = TransactionModifier::RECURRING;
        return $this;
    }
1238452
public function timestamp($value = null)
    {
        // Use now if no time was passed
        if ( ! $value) $value = $this->freshTimestamp();

        return $this->fromDateTime($value);
    }
398992
public function time($name = null, $value = null, $attr = null)
    {
        return $this->createInput('time', $name, $value, $attr);
    }
452031
public function setCoreManagerDateFormat($value)
    {
        $this->setFieldName('manager_date_format');
        $this->loadObject(true);
        $this->setFieldValue($value);

        return $this;
    }
996051
public function setBottom($value)
	{
		$this->bottom = intval($value);
		$this->height = null;
		return $this;
	}
588720
public static function castToDateTime($value)
    {
        if ($value instanceof \DateTime) {
            return clone $value;
        }
        if (is_numeric($value)) {
            $date = new \DateTime();
            $date->setTimestamp((int)$value);
        } elseif (is_string($value) || (is_object($value) && method_exists($value, '__toString'))) {
            $date = date_create((string)$value);
            if ($date === false) {
                $date = null;
            }
        } else {
            $date = null;
        }
        return $date;
    }