Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: vrecur.h
Link against: versit.lib

Class CVersitRecurrence

CVersitRecurrence

Support

Supported from 5.0

Description

Abstract base class for all versit recurrence classes. A pointer to a derived class object is owned by the CParserPropertyValueRecurrence class and is used to contain the recurrence details for a repeating event.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CVersitRecurrenceAbstract base class for all versit recurrence classes

Defined in CVersitRecurrence:
CVersitRecurrence(), EDaily, EMonthlyByDay, EMonthlyByPos, EWeekly, EYearlyByDay, EYearlyByMonth, TType, iDuration, iEndDate, iInterval, iRepeatType, ~CVersitRecurrence()

Inherited from CBase:
operator new()


Construction and destruction


CVersitRecurrence()

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

Description

Constructs the CVersitRecurrence object with an interval, a duration and an optional end date. It is invoked from the constructor for a derived class.


~CVersitRecurrence()

~CVersitRecurrence();

Description

Frees all resources owned by the CVersitRecurrence object, prior to its destruction.

[Top]


Enumerations


Enum TType

TType

Description

Repeat 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.

[Top]


Member data


iRepeatType

TType iRepeatType

Description

The type of repeat.


iInterval

TInt iInterval

Description

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


iDuration

TInt iDuration

Description

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.


iEndDate

TVersitDateTime* iEndDate

Description

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.