Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: vprop.h
Link against: versit.lib

Class CParserPropertyValueTimeZone

CParserPropertyValueTimeZone

Support

Supported from 5.0

Description

A property value which represents the time zone information for a vCard or vCalendar. The time zone is specified as the universal time offset — a time interval which is a positive or negative number of seconds from universal time. Time zones east of universal time are positive numbers. Time zones west of universal time are negative numbers.

To find out the property value type, use Uid() defined in the base class CParserPropertyValue. A time zone property UID has the value KVersitPropertyTimeZoneUid.

The class defines an ExternalizeL() function which has not been documented. It is invoked by the parser's ExternalizeL() function.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CParserPropertyValueAbstract base class for all property values
CParserPropertyValueTimeZoneA property value which represents the time zone information for a vCard or vCalendar

Defined in CParserPropertyValueTimeZone:
CParserPropertyValueTimeZone(), Value(), ~CParserPropertyValueTimeZone()

Inherited from CBase:
operator new()

Inherited from CParserPropertyValue:
EncodeL(), ExternalizeL(), IsAsciiCharacterSetSufficient(), SupportsInterface(), Uid()


Construction and destruction


CParserPropertyValueTimeZone()

CParserPropertyValueTimeZone(TTimeIntervalSeconds* aValue);

Description

Constructs a new CParserPropertyValueTimeZone with a time interval in seconds, which represents the universal time offset. Sets the property value’s UID to KVersitPropertyTimeZoneUid.

Parameters

TTimeIntervalSeconds* aValue

A pointer to a time interval in seconds which represents the offset from universal time. The property value takes ownership of the pointer.


~CParserPropertyValueTimeZone()

~CParserPropertyValueTimeZone();

Description

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

[Top]


Property value


Value()

TTimeIntervalSeconds* Value() const;

Description

Gets the time zone property value.

Return value

TTimeIntervalSeconds*

Pointer to a time interval in seconds which represents the offset from universal time.