Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: VCAL.H
Link against: vcal.lib

Class CParserPropertyValueExtendedAlarm

class CParserPropertyValueExtendedAlarm : public CParserTimePropertyValue;

Description

An extended alarm property value parser for a vCalendar entity.

An alarm action can be attached with a vEvent or a vTodo. The value for the alarm action is stored as a CVersitExtendedAlarm object.

Note: The UID for an extended alarm property value is KVCalPropertyExtendedAlarmUid.

Derivation

Members

Defined in CParserPropertyValueExtendedAlarm:
CParserPropertyValueExtendedAlarm(), ConvertAllDateTimesToUTCL(), ConvertAllUTCDateTimesToMachineLocalL(), ExternalizeL(), IsAsciiCharacterSetSufficient(), Value(), ~CParserPropertyValueExtendedAlarm()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CParserPropertyValue:
Append(), EncodeL(), FoldAndWriteValueToStreamL(), FoldEncodeAndWriteValueToStreamL(), PlugIn(), SetPlugIn(), Uid()

Inherited from CParserTimePropertyValue:
ConvertDateTime(), EncodeTimePeriodL(), EncodeVersitDateTimeL(), SupportsInterface()


Construction and destruction


CParserPropertyValueExtendedAlarm()

IMPORT_C CParserPropertyValueExtendedAlarm(CVersitExtendedAlarm *aValue);

Description

Constructs a new extended alarm property value with a pointer to a CVersitExtendedAlarm.

Parameters

CVersitExtendedAlarm *aValue

Pointer to the alarm. The property value takes ownership of the pointer.


~CParserPropertyValueExtendedAlarm()

IMPORT_C ~CParserPropertyValueExtendedAlarm();

Description

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

[Top]


Member functions


Value()

inline CVersitExtendedAlarm *Value() const;

Description

Gets a pointer to the extended alarm property value.

Return value

CVersitExtendedAlarm *

Pointer to the extended alarm property value.


ConvertAllDateTimesToUTCL()

virtual IMPORT_C void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds &aIncrement, const CVersitDaylight *aDaylight);

Description

Converts the extended alarm time into universal time.

Parameters

const TTimeIntervalSeconds &aIncrement

A time interval in seconds which represents the negative of the time zone of the originating machine. For instance, if the time zone is +04:30, aIncrement should be set to -04:30.

const CVersitDaylight *aDaylight

Pointer to the specification for daylight saving. If the alarm's time value is within the period for daylight saving, the value is modified by the daylight saving offset (which accounts for both the time zone and daylight saving rule).


ConvertAllUTCDateTimesToMachineLocalL()

virtual IMPORT_C void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds &aIncrement);

Description

Converts the extended alarm time to machine-local time.

Parameters

const TTimeIntervalSeconds &aIncrement

A time interval which represents the number of seconds which is to be added to the date/time value. This should normally be the universal time offset for the machine's locale.


ExternalizeL()

virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &aEncodingCharset, TInt aLengthOutput);

Description

Externalises the extended alarm property value into aStream.

Parameters

RWriteStream &aStream

Stream to which the value should be externalised.

const Versit::TEncodingAndCharset &aEncodingCharset

Contains the character set and encoding into which the property value should be converted.

TInt aLengthOutput

The amount of text that has been outputted on the line so far, which needs to be taken into account when calculating if and where any line break should occur.


IsAsciiCharacterSetSufficient()

virtual IMPORT_C TBool IsAsciiCharacterSetSufficient();

Description

Tests whether the property value can be represented using the ASCII character set.

Return value

TBool

ETrue if the property value can be represented using the ASCII character set. If not, EFalse.