kaddressbook
DateParser Class Reference
#include <dateparser.h>
Detailed Description
This class parses the date out of a given string with the help of a pattern.The pattern can contains the following key characters: y = year (e.g. 82) Y = year (e.g. 1982) m = month (e.g. 7, 07 or 12) M = month (e.g. 07 or 12) d = day (e.g. 3, 03 or 17) D = day (e.g. 03 or 17 )
Definition at line 40 of file dateparser.h.
Public Member Functions | |
DateParser (const QString &pattern) | |
~DateParser () | |
QDate | parse (const QString &dateStr) const |
The documentation for this class was generated from the following files: