EPOC   SDK Home Glossary Indexes Previous Next Up

CVersitRecurrenceYearlyByMonth class


Contents


CVersitRecurrenceYearlyByMonth class — Yearly recurrence by month 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 months in which the repeat is to occur are identified by an array of TMonth values (between EJanuary and EDecember inclusive).


Construction and destruction


CVersitRecurrenceYearlyByMonth() — C++ constructor with recurrence details

CVersitRecurrenceYearlyByMonth(TInt aInterval,TInt aDuration,TVersitDateTime* aEndDate,CArrayFix<TMonth>* aArrayOfMonthsInYearOccurences);

Description

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

Sets the repeat type (iRepeatType) to EYearlyByMonth.

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<TMonth>* aArrayOfMonthsInYearOccurences

Pointer to an array of TMonth values.

Note

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


~CVersitRecurrenceYearlyByMonth() — Destructor

~CVersitRecurrenceYearlyByMonth();

Description

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

EPOC       SDK Home Glossary Indexes Previous Next Up