EPOC   SDK Home Glossary Indexes Previous Next Up

CVersitRecurrenceMonthlyByDay class


Contents


CVersitRecurrenceMonthlyByDay class — Monthly 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 monthly repeat event in a vCalendar entity. The days on which the repeat is to occur are identified by their day number, counting either from the start or the end of the month.


Construction and destruction


CVersitRecurrenceMonthlyByDay() — C++ constructor with recurrence details

CVersitRecurrenceMonthlyByDay(TInt aInterval,TInt aDuration,TVersitDateTime* aEndDate, CArrayFix<TInt>* aArrayOfOccurencesInDaysFromStartOfMonth,CArrayFix<TInt>* aArrayOfOccurencesInDaysFromEndOfMonth,TBool aLastDay);

Description

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

Sets the repeat type (iRepeatType) to EMonthlyByDay.

Arguments

TInt aInterval

The interval in months between repeats.

TInt aDuration

The duration in months for the repeat.

TVersitDateTime* aEndDate

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

CArrayFix<TInt>* aArrayOfOccurencesInDaysFromStartOfMonth

Pointer to an array of integers. Each integer can have a value between 1 and 31 inclusive, to indicate the date for the repeat event.

CArrayFix<TInt>* aArrayOfOccurencesInDaysFromEndOfMonth

Pointer to an array of integers. Each integer can have a value between 1 and 31 inclusive, to indicate a number of days from the end of the month for the repeat event (1 indicates the last day in the month).

TBool aLastDay

ETrue if the recurrence happens on the last day of the month. This can then be represented in the vCalendar using the LD recurrence rule. EFalse if not.

Note

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


~CVersitRecurrenceMonthlyByDay() — Destructor

~CVersitRecurrenceMonthlyByDay();

Description

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

EPOC       SDK Home Glossary Indexes Previous Next Up