/**
  * set calendar component property recurrence-id
  *
  * @author Kjell-Inge Gustafsson, kigkonsult <*****@*****.**>
  * @since 2.16.21 - 2013-06-23
  * @param mixed   $year
  * @param mixed   $month
  * @param int     $day
  * @param int     $hour
  * @param int     $min
  * @param int     $sec
  * @param string  $tz
  * @param array   $params
  * @uses calendarComponent::getConfig()
  * @uses calendarComponent::$recurrenceid
  * @uses iCalUtilityFunctions::_setDate()
  * @return bool
  */
 function setRecurrenceid($year, $month = FALSE, $day = FALSE, $hour = FALSE, $min = FALSE, $sec = FALSE, $tz = FALSE, $params = FALSE)
 {
     if (empty($year)) {
         if ($this->getConfig('allowEmpty')) {
             $this->recurrenceid = array('value' => '', 'params' => null);
             return TRUE;
         } else {
             return FALSE;
         }
     }
     $this->recurrenceid = iCalUtilityFunctions::_setDate($year, $month, $day, $hour, $min, $sec, $tz, $params, null, null, $this->getConfig('TZID'));
     return TRUE;
 }