kaddressbook Library API Documentation

DateParser Class Reference

This class parses the date out of a given string with the help of a pattern. More...

#include <dateparser.h>

List of all members.

Public Methods

 DateParser (const QString &pattern)
 ~DateParser ()
QDate parse (const QString &dateStr) const


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.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kaddressbook Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:38:54 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003