| class CParserPropertyValueDaylight : public CParserTimePropertyValue |
A property value parser which contains the daylight savings rule for a vCalendar.
The property value is stored using an instance of the CVersitDaylight class.
The UID for a daylight savings rule property value is KVersitPropertyDaylightUid.
| Public Member Functions | |
|---|---|
| CParserPropertyValueDaylight ( CVersitDaylight *) | |
| ~CParserPropertyValueDaylight () | |
| IMPORT_C void | ConvertAllDateTimesToUTCL (const TTimeIntervalSeconds &, const CVersitDaylight *) |
| IMPORT_C void | ConvertAllUTCDateTimesToMachineLocalL (const TTimeIntervalSeconds &) |
| IMPORT_C void | ExternalizeL ( RWriteStream &, const Versit::TEncodingAndCharset &, TInt ) |
| CVersitDaylight * | Value () |
| Private Attributes | |
|---|---|
| CVersitDaylight * | iValue |
| IMPORT_C | CParserPropertyValueDaylight | ( | CVersitDaylight * | aValue | ) |
Constructs a new CParserPropertyValueDaylight .
Sets the property value's UID to KVersitPropertyDaylightUid.
| CVersitDaylight * aValue | Pointer to the daylight saving specification. The property value takes ownership of the pointer. |
| IMPORT_C | ~CParserPropertyValueDaylight | ( | ) |
Frees all resources owned by the property value, prior to its destruction.
| IMPORT_C void | ConvertAllDateTimesToUTCL | ( | const TTimeIntervalSeconds & | aIncrement, |
| const CVersitDaylight * | aDaylight | |||
| ) | [virtual] | |||
This function does nothing, as daylight saving times should always be specified as local times.
since 9.1
| const TTimeIntervalSeconds & aIncrement | Not used. |
| const CVersitDaylight * aDaylight | Not used. |
| IMPORT_C void | ConvertAllUTCDateTimesToMachineLocalL | ( | const TTimeIntervalSeconds & | aIncrement | ) | [virtual] |
Converts the start and end times for the daylight saving period to machine-local.
This process involves adjusting the date/time values by the offset in aIncrement.
It has no effect if daylight savings is not in effect or on values already stored in machine-local time.
This function is deprecated.
since 9.1
| const TTimeIntervalSeconds & aIncrement | A time interval in seconds to add to the start and end date/times for daylight saving. This should normally be the universal time offset for the machine's locale. |
| IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
| const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
| TInt | aLengthOutput | |||
| ) | [virtual] | |||
Externalizes the daylight saving property value into aStream.
This is invoked by the parser's ExternalizeL() function.
| RWriteStream & aStream | Stream to which the value is to be externalised. |
| const Versit::TEncodingAndCharset & aEncodingCharset | Specifies the character set and encoding information. |
| TInt aLengthOutput | The amount of text that has been output so far on the line, which needs to be taken into account when calculating if and where any line break should occur. |
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.