__construct() __construct(mixed $data) Constructor. Parameters mixed $data Either a DateTime object, or a date format that can be converted to a DateTime object. Throws \Exception
__toString() __toString() : string Returns the string value of the raw data. Returns string — String value.
escape() escape() : string Returns the data formatted for output to the IMAP server. Returns string — IMAP escaped string.