CVersitRecurrenceDaily Class Reference

class CVersitRecurrenceDaily : public CVersitRecurrence

Defines when a 'daily' recurrence is to be repeated.

Used by a repeating event (a vCalendar event or to-do) to define when it is to occur. The days on which the event occurs are identified by the number of days between repeats, e.g. every third day.

A pointer to this object may be owned by a CParserPropertyValueRecurrence object.

Inherits from

Constructor & Destructor Documentation

CVersitRecurrenceDaily(TInt, TInt, TVersitDateTime *)

IMPORT_C CVersitRecurrenceDaily ( TInt aInterval,
TInt aDuration,
TVersitDateTime * aEndDate
)

Constructs the CVersitRecurrenceDaily object.

Sets the interval, the duration and, optionally, an end date for the repeat. The repeat type is set to EDaily.

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

Parameters

TInt aInterval The number of days between repeats.
TInt aDuration The duration, in days, for which the event should continue recurring. A value of zero indicates the repeat should continue forever.
TVersitDateTime * aEndDate Pointer to the end date for the repeat. The object takes ownership of this pointer.

Member Functions Documentation

ExternalizeOccurrenceListsL(RWriteStream &)

IMPORT_C void ExternalizeOccurrenceListsL ( RWriteStream & ) const [virtual]

This function is empty because an occurrence list is not applicable to a daily recurrence type.

Parameters

RWriteStream &