public function setImapDate($date)
    {
        $this->_data[Horde_Imap_Client::FETCH_IMAPDATE] = is_object($date)
            ? $date
            : new Horde_Imap_Client_DateTime($date);
    }
public function setImapDate($date)
    {
        $this->_data[Horde_Imap_Client::FETCH_IMAPDATE] = is_object($date)
            ? $date
            : new Horde_Imap_Client_DateTime($date);
    }
public function setImapDate ( $ date ) { $ this -> _data [ Horde_Imap_Client :: FETCH_IMAPDATE ] = is_object ( $ date ) ? $ date : new Horde_Imap_Client_DateTime ( $ date ) ; }
Set IMAP internal date.

@param mixed $date  Either a Horde_Imap_Client_DateTime object or a
date string.
Set IMAP internal date .