EPOC   SDK Home Glossary Indexes Previous Next Up

CVersitRecurrenceWeekly class


Contents


CVersitRecurrenceWeekly class — Weekly recurrence

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.

CVersitRecurrence

Abstract: Recurrence details for a repeat event.

Defined in

vrecur.h

Link against

versit.lib

Description

Recurrence details for a weekly repeat event in a vCalendar entity.


Construction and destruction


CVersitRecurrenceWeekly() — C++ constructor with recurrence details

CVersitRecurrenceWeekly(TInt aInterval,TInt aDuration,TVersitDateTime* aEndDate,CWeekDayArray* aArrayOfWeekdayOccurences);

Description

The C++ constructor is used to construct the CVersitRecurrenceWeekly object with a time interval, a duration in weeks, an optional end date and a pointer to an array of the days of the week on which the repeat event is to occur.

Sets the repeat type (iRepeatType) to EWeekly.

Arguments

TInt aInterval

The interval in weeks between repeats.

TInt aDuration

The duration in weeks for the repeat.

TVersitDateTime* aEndDate

Pointer to the specification for the date at which the repeat will end.

CWeekDayArray* aArrayOfWeekdayOccurences

Pointer to the specification for the days of the week on which the repeat event is to occur.

Note

If a duration and an end date are both specified, the end date takes precedence.


~CVersitRecurrenceWeekly() — Destructor

~CVersitRecurrenceWeekly();

Description

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

EPOC       SDK Home Glossary Indexes Previous Next Up