protected function addDateTime( CalendarDateTime $dateTime ) {
    	$this->addLine('BEGIN:VEVENT');
		$this->addLine('UID:' . $this->getUID($dateTime) );
		$this->addLine('DTSTAMP;TZID=' . Calendar::config()->timezone . ':' . $this->getFormatedDateTime());
		$this->addLine('DTSTART;TZID=' . Calendar::config()->timezone . ':' . $this->getFormatedDateTime($dateTime->dbObject('StartDate'), $dateTime->dbObject('StartTime')));
		$this->addLine('DTEND;TZID='   . Calendar::config()->timezone . ':' . $this->getFormatedDateTime($dateTime->dbObject('EndDate'), $dateTime->dbObject('EndTime')));
		$this->addLine('URL:' . Director::absoluteURL($dateTime->ICSLink()));
		$this->addLine('SUMMARY:CHARSET=UTF-8:' . $dateTime->Event()->Title);
		$this->addLine('END:VEVENT');
    }
protected function addDateTime( CalendarDateTime $dateTime ) {
    	$this->addLine('BEGIN:VEVENT');
		$this->addLine('UID:' . $this->getUID($dateTime) );
		$this->addLine('DTSTAMP;TZID=' . Calendar::config()->timezone . ':' . $this->getFormatedDateTime());
		$this->addLine('DTSTART;TZID=' . Calendar::config()->timezone . ':' . $this->getFormatedDateTime($dateTime->dbObject('StartDate'), $dateTime->dbObject('StartTime')));
		$this->addLine('DTEND;TZID='   . Calendar::config()->timezone . ':' . $this->getFormatedDateTime($dateTime->dbObject('EndDate'), $dateTime->dbObject('EndTime')));
		$this->addLine('URL:' . Director::absoluteURL($dateTime->ICSLink()));
		$this->addLine('SUMMARY:CHARSET=UTF-8:' . $dateTime->Event()->Title);
		$this->addLine('END:VEVENT');
    }
protected function addDateTime ( CalendarDateTime $ dateTime ) { $ this -> addLine ( 'BEGIN:VEVENT' ) ; $ this -> addLine ( 'UID:' . $ this -> getUID ( $ dateTime ) ) ; $ this -> addLine ( 'DTSTAMP;TZID=' . Calendar :: config ( ) -> timezone . ':' . $ this -> getFormatedDateTime ( ) ) ; $ this -> addLine ( 'DTSTART;TZID=' . Calendar :: config ( ) -> timezone . ':' . $ this -> getFormatedDateTime ( $ dateTime -> dbObject ( 'StartDate' ) , $ dateTime -> dbObject ( 'StartTime' ) ) ) ; $ this -> addLine ( 'DTEND;TZID=' . Calendar :: config ( ) -> timezone . ':' . $ this -> getFormatedDateTime ( $ dateTime -> dbObject ( 'EndDate' ) , $ dateTime -> dbObject ( 'EndTime' ) ) ) ; $ this -> addLine ( 'URL:' . Director :: absoluteURL ( $ dateTime -> ICSLink ( ) ) ) ; $ this -> addLine ( 'SUMMARY:CHARSET=UTF-8:' . $ dateTime -> Event ( ) -> Title ) ; $ this -> addLine ( 'END:VEVENT' ) ; }
Add a CalendarDateTime to the stack.

@param CalendarDateTime $dateTime
@return void

@author Alex Hayes <alex.hayes@dimension27.com>
Add a CalendarDateTime to the stack .