EPOC   SDK Home Glossary Indexes Previous Next Up

CVersitRecurrence class


Contents


CVersitRecurrence class — Recurrence details for a vCalendar repeat event

Section Contents


Overview

Compatibility

Applications that use this class will not work correctly on a version of EPOC earlier than ER5.

Derivation

CBase

Abstract: CBase behaviour.

Defined in

vrecur.h

Link against

versit.lib

Description

Abstract base class for all versit recurrence classes.

A pointer to an object of this class is owned by the CParserPropertyValueRecurrence class and is used to contain the recurrence details for a repeat event.


Construction and destruction


CVersitRecurrence() — C++ constructor

CVersitRecurrence(TInt aInterval,TInt aDuration,TVersitDateTime* aEndDate);

When called

The C++ constructor is used to construct the CVersitRecurrence object with an interval, a duration and an optional end date. It is invoked from the constructor for a derived class.


~CVersitRecurrence() — Destructor

~CVersitRecurrence();

Description

The destructor frees all resources owned by the CVersitRecurrence object, prior to its destruction.


Enumerations


TType enum — Repeat frequency and type

EDaily

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.


Member data

TType iRepeatType

The type of repeat.

TInt iInterval

Interval between repeats. A number of days, weeks, months or years depending on the repeat type.

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.

EPOC       SDK Home Glossary Indexes Previous Next Up