EPOC   SDK Home Glossary Indexes Previous Next Up

CVersitRecurrenceYearlyByDay class


Contents


CVersitRecurrenceYearlyByDay class — Yearly recurrence by day number

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 yearly repeat event in a vCalendar entity. The days on which the repeat is to occur are identified by their day number in the year (between 1 and 366 inclusive).


Construction and destruction


CVersitRecurrenceYearlyByDay() — C++ constructor with recurrence details

CVersitRecurrenceYearlyByDay(TInt aInterval,TInt aDuration,TVersitDateTime* aEndDate,CArrayFix<TInt>* aArrayOfDaysInYearOccurences);

Description

The C++ constructor is used to construct the CVersitRecurrenceYearlyByDay with a specification for the repeat details.

Sets the repeat type (iRepeatType) to EYearlyByDay.

Arguments

TInt aInterval

The interval in years between repeats.

TInt aDuration

The duration in years for the repeat.

TVersitDateTime* aEndDate

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

CArrayFix<TInt>* aArrayOfDaysInYearOccurences

Pointer to an array of integers between 1 and 366 inclusive. Each integer represents a day on which the repeat is to occur.


~CVersitRecurrenceYearlyByDay() — Destructor

~CVersitRecurrenceYearlyByDay();

Description

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

EPOC       SDK Home Glossary Indexes Previous Next Up