Location:
VRECUR.H
Link against: vcal.lib
class CParserPropertyValueRecurrence : public CParserTimePropertyValue;
A recurrence property value parser.
This is used to store and retrieve the recurrence information for a repeating vEvent or vTodo. This information is stored
as a CVersitRecurrence
object.
The UID for a recurrence property value is KVCalPropertyRecurrenceUid.
CBase
- Base class for all classes to be instantiated on the heap
CParserPropertyValue
- Abstract base class for all property values
CParserTimePropertyValue
- Abstract base class for all of the date/time property value classes
CParserPropertyValueRecurrence
- A recurrence property value parser
Defined in CParserPropertyValueRecurrence
:
CParserPropertyValueRecurrence()
, ConvertAllDateTimesToUTCL()
, ConvertAllUTCDateTimesToMachineLocalL()
, ExternalizeL()
, Value()
, iValue
, ~CParserPropertyValueRecurrence()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CParserPropertyValue
:
Append()
,
EncodeL()
,
FoldAndWriteValueToStreamL()
,
FoldEncodeAndWriteValueToStreamL()
,
IsAsciiCharacterSetSufficient()
,
PlugIn()
,
SetPlugIn()
,
Uid()
Inherited from CParserTimePropertyValue
:
ConvertDateTime()
,
EncodeTimePeriodL()
,
EncodeVersitDateTimeL()
,
SupportsInterface()
IMPORT_C CParserPropertyValueRecurrence(CVersitRecurrence *aValue);
Constructs a recurrence property value.
Sets the property value's UID to KVCalPropertyRecurrenceUid.
|
IMPORT_C ~CParserPropertyValueRecurrence();
Frees all resources owned by the property value, prior to its destruction.
inline CVersitRecurrence *Value() const;
Gets the recurrence value.
|
virtual IMPORT_C void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds &aIncrement, const CVersitDaylight *aDaylight);
Converts the end time of the recurrence value into universal time.
The date/time is checked against the daylight saving information provided in aDaylight. If it falls inside the daylight saving period then the daylight saving offset is subtracted from the time to convert it to universal time. Otherwise the time is modified by aIncrement to convert it to universal time.
Note that the daylight savings offset will adjust the time both for the daylight saving and for the time zone.
The function has no effect if the value is already stored in universal time.
If aDaylight is a NULL pointer then aIncrement is used.
|
virtual IMPORT_C void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds &aIncrement);
Converts the end time of the recurrence value into machine-local time.
This process involves adjusting the date/time value by the offset in aIncrement.
The function has no effect if the value is already stored in machine-local time.
|
virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &,TInt);
Externalises the recurrence property value into aStream.
The property is written to the stream in the following order:
Repeat type, e.g. "D" is written for a daily repeat (see KVersitRecurrenceDaily).
Repeat interval, e.g. "2" for a weekly repeat type that occurs fortnightly.
Occurrence list (optional), e.g. the string "MO TH" is written for a weekly repeat type that recurs on Mondays and Thursdays.
End date (optional) - the date on which the event should stop recurring.
Duration, e.g. "#10" for a weekly repeat type that should last for 10 weeks.
For example, "W2 TU TH #10", means a repeat every second Tuesday and Thursday for 10 weeks
|
protected: CVersitRecurrence * iValue;