public function setRRuleConfiguration(string $recurrence = null): ?string
    {
        $result = null;

        if (empty($recurrence)) {
            return $result;
        }

        if (!preg_match('/RRULE:/', $recurrence)) {
            $result = 'RRULE:' . $recurrence;
        }

        return $result;
    }