Location:
VCAL.H
Link against: vcal.lib
class CParserPropertyValueAlarm : public CParserTimePropertyValue;
An alarm property value parser for a vCalendar entity.
An alarm can be associated with a vEvent or a vTodo. The value for the alarm is stored as a CVersitAlarm
.
Note: The UID for an alarm property value is KVCalPropertyAlarmUid.
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
CParserPropertyValueAlarm
- An alarm property value parser for a vCalendar entity
Defined in CParserPropertyValueAlarm
:
CParserPropertyValueAlarm()
, CParserPropertyValueAlarm()
, ConvertAllDateTimesToUTCL()
, ConvertAllUTCDateTimesToMachineLocalL()
, ExternalizeL()
, IsAsciiCharacterSetSufficient()
, Value()
, ~CParserPropertyValueAlarm()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Inherited from CParserPropertyValue
:
Append()
,
EncodeL()
,
FoldAndWriteValueToStreamL()
,
FoldEncodeAndWriteValueToStreamL()
,
PlugIn()
,
SetPlugIn()
,
Uid()
Inherited from CParserTimePropertyValue
:
ConvertDateTime()
,
EncodeTimePeriodL()
,
EncodeVersitDateTimeL()
,
SupportsInterface()
IMPORT_C CParserPropertyValueAlarm(CVersitAlarm *aValue);
Constructs a new alarm property value with a pointer to a CVersitAlarm
.
|
IMPORT_C ~CParserPropertyValueAlarm();
Frees all resources owned by the property value, prior to its destruction.
inline CVersitAlarm *Value() const;
Gets a pointer to the alarm property value.
|
virtual IMPORT_C void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds &aIncrement, const CVersitDaylight *aDaylight);
Converts the alarm time into universal time.
The date/time of the alarm 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 aIncrement is added to the date/time of the alarm 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 as universal time.
If aDaylight is a NULL pointer then aIncrement is used.
|
virtual IMPORT_C void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds &aIncrement);
Converts the alarm time to machine-local time.
This involves adjusting the alarm's date/time by the offset in aIncrement.
The function has no effect if the value is already stored as machine-local time.
|
virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &aEncodingCharset, TInt aLengthOutput);
Externalises the alarm property value into aStream.
|
virtual IMPORT_C TBool IsAsciiCharacterSetSufficient();
Tests whether the property value can be represented using the ASCII character set.
|