KMIME Library
#include <kmime_headers.h>
Inherits KMime::Headers::Generics::Structured.
Public Member Functions | |
int | ageInDays () const |
virtual QByteArray | as7BitString (bool withHeaderType=true) const |
virtual void | clear () |
KDateTime | dateTime () const |
virtual bool | isEmpty () const |
void | setDateTime (const KDateTime &dt) |
Protected Member Functions | |
bool | parse (const char *&scursor, const char *const send, bool isCRLF=false) |
Detailed Description
Represents a "Date" header.
- See also
- RFC 2822, section 3.3.
Definition at line 1353 of file kmime_headers.h.
Member Function Documentation
◆ ageInDays()
int KMime::Headers::Date::ageInDays | ( | ) | const |
Returns the age of the message.
Definition at line 1533 of file kmime_headers.cpp.
◆ as7BitString()
|
virtual |
Returns the encoded header.
- Parameters
-
withHeaderType Specifies whether the header-type should be included.
Implements KMime::Headers::Base.
Definition at line 1497 of file kmime_headers.cpp.
◆ clear()
|
virtual |
◆ dateTime()
KDateTime KMime::Headers::Date::dateTime | ( | ) | const |
Returns the date contained in this header.
Definition at line 1522 of file kmime_headers.cpp.
◆ isEmpty()
|
virtual |
Checks if this header contains any data.
Implements KMime::Headers::Base.
Definition at line 1517 of file kmime_headers.cpp.
◆ parse()
|
protected |
Definition at line 1539 of file kmime_headers.cpp.
◆ setDateTime()
void KMime::Headers::Date::setDateTime | ( | const KDateTime & | dt | ) |
Sets the date.
Definition at line 1527 of file kmime_headers.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Thu Jul 20 2023 00:00:00 by doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.