| class CVersitRecurrence : public CBase |
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.
| Public Member Functions | |
|---|---|
| CVersitRecurrence(TInt, TInt, TVersitDateTime *) | |
| ~CVersitRecurrence() | |
| void | ExternalizeOccurrenceListsL(RWriteStream &) |
| Public Member Enumerations | |
|---|---|
| enum | TType { EDaily = 1, EWeekly, EMonthlyByPos, EMonthlyByDay, EYearlyByMonth, EYearlyByDay } |
| Public Attributes | |
|---|---|
| TInt | iDuration |
| TVersitDateTime * | iEndDate |
| TInt | iInterval |
| TType | iRepeatType |
| IMPORT_C | CVersitRecurrence | ( | TInt | aInterval, |
| TInt | aDuration, | |||
| TVersitDateTime * | aEndDate | |||
| ) | ||||
| TInt aInterval | |
| TInt aDuration | |
| TVersitDateTime * aEndDate |
| void | ExternalizeOccurrenceListsL | ( | RWriteStream & | aStream | ) | const [pure virtual] |
Externalises an occurrence list to aStream.
| RWriteStream & aStream | The stream to which the occurrence list is to be externalised. |
Repeat type.
| EDaily = 1 |
Daily repeat. |
| EWeekly |
Weekly repeat. |
| EMonthlyByPos |
Monthly repeat, by relative position within the month. |
| EMonthlyByDay |
Monthly repeat, by day number within the month. |
| EYearlyByMonth |
Yearly repeat, by specific months within the year. |
| EYearlyByDay |
Yearly repeat, by specific days within the year. |
| 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.