EPOC   SDK Home Glossary Indexes Previous Next Up

CParserPropertyValueTimeZone class


Contents


CParserPropertyValueTimeZone class — Time zone property value

Section Contents


Overview

Compatibility

Applications that use this class will not work correctly on a version of EPOC earlier than ER5.

Derivation

CBase

Abstract: CBase behaviour.

CParserPropertyValue

Abstract: Base class for all property values.

Defined in

vprop.h

Link against

versit.lib

Description

This property value specifies information related to the time zone of the vCard or vCalendar entity. The time zone is represented by 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.


Construction and destruction


CParserPropertyValueTimeZone() — C++ constructor with a time interval in seconds

CParserPropertyValueTimeZone(TTimeIntervalSeconds* aValue);

Description

Constructs a new CParserPropertyValueTimeZone, with a universal time offset.

Arguments

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() — Destructor

~CParserPropertyValueTimeZone();

Description

The destructor frees all resources owned by the property, prior to its destruction.


Property value


Value() — Get the time zone property value

TTimeIntervalSeconds* Value() const;

Description

Retrieves the time zone property value.

Return value

TTimeIntervalSeconds*

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

EPOC       SDK Home Glossary Indexes Previous Next Up