libopie PIM API Documentation

OCalendarHelper Struct Reference

#include <oevent.h>

List of all members.

Static Public Member Functions

int week (const QDate &)
 calculate the week number of the date

int ocurrence (const QDate &)
 calculate the occurence of week days since the start of the month

int dayOfWeek (char day)
int monthDiff (const QDate &first, const QDate &second)
 returns the diff of month


Member Function Documentation

int OCalendarHelper::week const QDate  )  [static]
 

calculate the week number of the date

Definition at line 14 of file oevent.cpp.

References QDate::day(), QDate::dayOfWeek(), QDate::month(), week(), and QDate::year().

Referenced by week().

int OCalendarHelper::ocurrence const QDate  )  [static]
 

calculate the occurence of week days since the start of the month

Definition at line 26 of file oevent.cpp.

References QDate::day().

int OCalendarHelper::dayOfWeek char  day  )  [static]
 

Definition at line 31 of file oevent.cpp.

References dayOfWeek().

Referenced by dayOfWeek().

int OCalendarHelper::monthDiff const QDate first,
const QDate second
[static]
 

returns the diff of month

Definition at line 40 of file oevent.cpp.

References QDate::month(), and QDate::year().


The documentation for this struct was generated from the following files:
KDE Logo
This file is part of the documentation for OPIE Version 1.1.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:26:01 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001