• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kaddressbook

DateParser Class Reference

#include <dateparser.h>

List of all members.


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)
QDate parse (const QString &dateStr) const
 ~DateParser ()

Constructor & Destructor Documentation

DateParser::DateParser ( const QString &  pattern  ) 

Definition at line 27 of file dateparser.cpp.

DateParser::~DateParser (  ) 

Definition at line 32 of file dateparser.cpp.


Member Function Documentation

QDate DateParser::parse ( const QString &  dateStr  )  const

Definition at line 36 of file dateparser.cpp.


The documentation for this class was generated from the following files:
  • dateparser.h
  • dateparser.cpp

kaddressbook

Skip menu "kaddressbook"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal