|
|
|
|
Location:
VPROP.H
Link against: versit.lib
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.
CBase - Base class for all classes to be instantiated on the heap
CParserPropertyValue - Abstract base class for all property values
CParserTimePropertyValue - Abstract base class for all of the date/time property value classes
CParserPropertyValueDaylight - A property value parser which contains the daylight savings rule for a vCalendar
Defined in CParserPropertyValueDaylight:
CParserPropertyValueDaylight(), ConvertAllDateTimesToUTCL(), ConvertAllUTCDateTimesToMachineLocalL(), ExternalizeL(), Value(), ~CParserPropertyValueDaylight()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
Inherited from CParserPropertyValue:
Append(),
EncodeL(),
FoldAndWriteValueToStreamL(),
FoldEncodeAndWriteValueToStreamL(),
IsAsciiCharacterSetSufficient(),
PlugIn(),
SetPlugIn(),
Uid()
Inherited from CParserTimePropertyValue:
ConvertDateTime(),
EncodeTimePeriodL(),
EncodeVersitDateTimeL(),
SupportsInterface()
IMPORT_C CParserPropertyValueDaylight(CVersitDaylight *aValue);
Constructs a new CParserPropertyValueDaylight.
Sets the property value's UID to KVersitPropertyDaylightUid.
|
IMPORT_C ~CParserPropertyValueDaylight();
Frees all resources owned by the property value, prior to its destruction.
inline CVersitDaylight *Value() const;
Gets the daylight saving property value.
|
virtual IMPORT_C void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds &aIncrement, const CVersitDaylight *aDaylight);
This function does nothing, as daylight saving times should always be specified as local times.
|
virtual IMPORT_C void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds &aIncrement);
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.
|
virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &aEncodingCharset, TInt aLengthOutput);
Externalizes the daylight saving property value into aStream.
This is invoked by the parser's ExternalizeL() function.
|