Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: vrecur.h
Link against: versit.lib

Class CVersitRecurrenceMonthlyByDay

CVersitRecurrenceMonthlyByDay

Support

Supported from 5.0

Description

Recurrence details specific to a monthly repeat event in a vCalendar. The days on which the repeat occurs are identified by their day number, counting either from the start or the end of the month.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CVersitRecurrenceAbstract base class for all versit recurrence classes
CVersitRecurrenceMonthlyByDayRecurrence details specific to a monthly repeat event in a vCalendar

Defined in CVersitRecurrenceMonthlyByDay:
CVersitRecurrenceMonthlyByDay(), ~CVersitRecurrenceMonthlyByDay()

Inherited from CBase:
operator new()

Inherited from CVersitRecurrence:
EDaily, EMonthlyByDay, EMonthlyByPos, EWeekly, EYearlyByDay, EYearlyByMonth, TType, iDuration, iEndDate, iInterval, iRepeatType


Construction and destruction


CVersitRecurrenceMonthlyByDay()

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

Description

Constructs the CVersitRecurrenceMonthlyByDay object with the repeat details. Sets the repeat type (iRepeatType) to EMonthlyByDay.

Note:

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

Parameters

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>* aArrayOfOccurrencesInDaysFromEndOfMonth

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.


~CVersitRecurrenceMonthlyByDay()

~CVersitRecurrenceMonthlyByDay();

Description

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