public function setDateEnd( $date )
	{
		if ( $date == $this->getDateEnd() ) { return; }

		$this->_checkDateFormat($date);

		$this->_values['end'] = ( $date !== null ? (string) $date : null );

		$this->setModified();
	}
public function setDateEnd( $date )
	{
		if ( $date == $this->getDateEnd() ) { return; }

		$this->_checkDateFormat($date);

		$this->_values['end'] = ( $date !== null ? (string) $date : null );

		$this->setModified();
	}
public function setDateEnd ( $ date ) { if ( $ date == $ this -> getDateEnd ( ) ) { return ; } $ this -> _checkDateFormat ( $ date ) ; $ this -> _values [ 'end' ] = ( $ date !== null ? ( string ) $ date : null ) ; $ this -> setModified ( ) ; }
Sets a new ending point of time, in which the code is available.

@param string New ISO date in YYYY-MM-DD hh:mm:ss format
Sets a new ending point of time in which the code is available .