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

OCalendarHelper Struct Reference

#include </home/clem/local/src/opie/noncore/unsupported/libopie/pim/oevent.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 OCalendarHelper::dayOfWeek char  day  )  [static]
 

Definition at line 31 of file oevent.cpp.

References i, ORecur::MON, and ORecur::SUN.

Referenced by Opie::OCalendarHelper::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().

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::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(), and QDate::year().

Referenced by Opie::OCalendarHelper::week().


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