Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::OCalendarHelper Struct Reference

#include </home/clem/local/src/opie/libopie2/opiepim/core/opimevent.h>

List of all members.

Static Public Member Functions

static int week (const QDate &)
static int ocurrence (const QDate &)
static int dayOfWeek (char day)
static int monthDiff (const QDate &first, const QDate &second)


Member Function Documentation

int Opie::OCalendarHelper::dayOfWeek char  day  )  [static]
 

Definition at line 69 of file opimevent.cpp.

References OCalendarHelper::dayOfWeek(), and i.

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

returns the diff of month

Definition at line 82 of file opimevent.cpp.

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

int Opie::OCalendarHelper::ocurrence const QDate  )  [static]
 

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

Definition at line 61 of file opimevent.cpp.

References QDate::day().

int Opie::OCalendarHelper::week const QDate  )  [static]
 

calculate the week number of the date

Definition at line 46 of file opimevent.cpp.

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


The documentation for this struct was generated from the following files:
Generated on Sat Nov 5 17:59:40 2005 for OPIE by  doxygen 1.4.2