Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: VPROP.H
Link against: versit.lib

Class CParserPropertyValueTimeZone

class CParserPropertyValueTimeZone : public CParserPropertyValue;

Description

A time zone property value parser.

Stores and externalises a property value which represents the time zone information for a vCard or vCalendar.

The time zone is specified as the universal time offset. This is a time interval which is a positive or negative number of seconds from universal time. Time zones east of universal time have positive numbers. Time zones west of universal time have negative numbers.

The UID for a time zone property value is KVersitPropertyTimeZoneUid.

Derivation

Members

Defined in CParserPropertyValueTimeZone:
CParserPropertyValueTimeZone(), ExternalizeL(), Value(), iValue

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

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


Construction and destruction


CParserPropertyValueTimeZone()

IMPORT_C CParserPropertyValueTimeZone(TTimeIntervalSeconds aValue);

Description

Constructs a new time zone property value parser with a time interval in seconds, which represents the universal time offset of the time zone.

Sets the property value's UID to KVersitPropertyTimeZoneUid.

Parameters

TTimeIntervalSeconds aValue

A time interval (in seconds) which represents the offset of the time zone from universal time. The property value takes ownership of the pointer.

[Top]


Member functions


Value()

inline TTimeIntervalSeconds Value() const;

Description

Gets the time zone property value.

Return value

TTimeIntervalSeconds

A time interval (in seconds) which represents the offset from universal time.


ExternalizeL()

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

Description

Externalises the time zone property value into aStream.

Parameters

RWriteStream &aStream

Stream into which the value is to be externalised.

const Versit::TEncodingAndCharset &aEncodingCharset

Specifies the character set and encoding information. (Not used by this function).

TInt

[Top]


Member data


iValue

protected: TTimeIntervalSeconds iValue;

Description