| class CParserPropertyValueTimeZone : public CParserPropertyValue |
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.
| Public Member Functions | |
|---|---|
| CParserPropertyValueTimeZone ( TTimeIntervalSeconds ) | |
| void | EncodeTimeZone ( TDes8 &, TTimeIntervalSeconds ) |
| IMPORT_C void | ExternalizeL ( RWriteStream &, const Versit::TEncodingAndCharset &, TInt ) |
| TTimeIntervalSeconds | Value () |
| Protected Attributes | |
|---|---|
| TTimeIntervalSeconds | iValue |
| IMPORT_C | CParserPropertyValueTimeZone | ( | TTimeIntervalSeconds | aValue | ) |
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.
| 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. |
| void | EncodeTimeZone | ( | TDes8 & | aBuf, |
| TTimeIntervalSeconds | iValue | |||
| ) | [static] | |||
| TDes8 & aBuf | |
| TTimeIntervalSeconds iValue |
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
| const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
| TInt | ||||
| ) | [virtual] | |||
Externalises the time zone property value into aStream.
| 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 |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.