#include <app/vrecur.h>
| class CVersitRecurrence : public CBase |
| Public Attributes | |
|---|---|
| TInt | iDuration |
| TVersitDateTime * | iEndDate |
| TInt | iInterval |
| TType | iRepeatType |
| Public Member Enumerations | |
|---|---|
| enum | TType { EDaily, EWeekly, EMonthlyByPos, EMonthlyByDay, ..., EYearlyByDay } |
| Public Member Functions | |
|---|---|
| CVersitRecurrence(TInt, TInt, TVersitDateTime *) | |
| ~CVersitRecurrence() | |
| pure virtual void | ExternalizeOccurrenceListsL(RWriteStream &) |
Abstract base class for all recurrence property value classes.
A pointer to a derived recurrence property value class instance is owned by the CParserPropertyValueRecurrence class.
Implementations of this class define when an event is to repeat.
| TInt | iDuration |
The duration in days, weeks, months or years (depending on the repeat type) for the repeat.
A value of zero indicates the repeat should continue forever.
| TVersitDateTime * | iEndDate |
Specification for the date at which the repeat will end. If a duration and an end date are both specified, the end date takes precedence.
| TInt | iInterval |
The interval between repeats: a number of days, weeks, months or years, depending on the repeat type.
Repeat type.
| IMPORT_C | CVersitRecurrence | ( | TInt | aInterval, |
| TInt | aDuration, | |||
| TVersitDateTime * | aEndDate | |||
| ) | ||||
Constructs the CVersitRecurrence object.
Initialises the interval (iInterval), duration (iDuration) and optionally, the end date (iEndDate).
This is invoked by the constructor of a derived class.
| Parameter | Description |
|---|---|
| aInterval | The interval between repeats. |
| aDuration | The duration for the recurrence. |
| aEndDate | A pointer to the end date. The object takes ownership of this pointer. |
| IMPORT_C | ~CVersitRecurrence | ( | ) |
Frees all resources owned by the CVersitRecurrence object, prior to its destruction.
| void | ExternalizeOccurrenceListsL | ( | RWriteStream & | aStream | ) | const [pure virtual] |
Externalises an occurrence list to aStream.
| Parameter | Description |
|---|---|
| aStream | The stream to which the occurrence list is to be externalised. |