Location:
VPROP.H
Link against: versit.lib
class CParserPropertyValueMultiDateTime : public CParserTimePropertyValue;
A property value parser which stores a list of date/time values using an array of TVersitDateTime
objects.
The UID for a multiple date/time property value is KVersitPropertyMultiDateTimeUid.
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
CParserPropertyValueMultiDateTime
- A property value parser which stores a list of date/time values using an array of
Defined in CParserPropertyValueMultiDateTime
:
CParserPropertyValueMultiDateTime()
, ConvertAllDateTimesToUTCL()
, ConvertAllUTCDateTimesToMachineLocalL()
, ExternalizeL()
, Value()
, iValue
, ~CParserPropertyValueMultiDateTime()
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 CParserPropertyValueMultiDateTime(CArrayPtr< TVersitDateTime > *aValue);
Constructs a multi-date/time property value parser with an array of TVersitDateTimes.
Sets the property value's UID to KVersitPropertyMultiDateTimeUid.
|
IMPORT_C ~CParserPropertyValueMultiDateTime();
Frees all resources owned by the property value, prior to its destruction.
inline CArrayPtr< TVersitDateTime > *Value() const;
Gets a pointer to the object's list of date/time property values.
|
virtual IMPORT_C void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds &aIncrement, const CVersitDaylight *aDaylight);
Converts each of the date/time values owned by the object into universal time.
Each date/time is checked against the daylight saving information provided in aDaylight. If it falls inside the daylight saving period then the daylight saving offset is subtracted from the time to convert it to universal time. Otherwise aIncrement is added to the date/time of the alarm to convert it to universal time.
Note that the daylight savings offset will adjust the time both for the daylight saving and for the time zone.
The function does not effect any date/time value already stored in universal time.
If aDaylight is a NULL pointer then aIncrement is used.
|
virtual IMPORT_C void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds &aIncrement);
Converts the date/time property values into machine-local time.
This process involves adjusting the date/time values by the offset in aIncrement.
The function has no effect on any values already stored in machine-local time.
|
virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &,TInt aLengthOutput);
Externalises the array of date/time property values into aStream.
|
protected: CArrayPtr< TVersitDateTime > * iValue;