protected function event_recurrance_to_rfc() {

		// No recurrance by default
		$frequency = '';

		// Check how our event repeats
		switch ( $this->repeat ) {
			case 10:
				$frequency = 'FREQ=WEEKLY';
				break;
			case 100:
				$frequency = 'FREQ=MONTHLY';
				break;
			case 1000:
				$frequency = 'FREQ=YEARLY';
				break;
		}

		// Get the UNTIL portion if the frequency and end_date are not empty
		if ( ! empty( $frequency ) && ! empty( $this->end_date ) ) {
			$frequency .= ';UNTIL=' . $this->event_date_to_rfc( $this->end_date );
		}

		return $frequency;
	}