Location:
vprop.h
Link against: versit.lib
CParserTimePropertyValue
Supported from 5.0
Abstract base class for all of the date/time property value classes
(CParserPropertyValueAlarm, CParserPropertyValueDate,
CParserPropertyValueDateTime,
CParserPropertyValueMultiDateTime,
CParserPropertyValueDaylight,
CParserPropertyValueRecurrence). Provides date/time conversion
functions between machine-local and universal time.
|
Defined in CParserTimePropertyValue:
ConvertAllDateTimesToUTCL(), ConvertAllUTCDateTimesToMachineLocalL(), SupportsInterface()
Inherited from CBase:
operator new()
Inherited from CParserPropertyValue:
EncodeL(),
ExternalizeL(),
IsAsciiCharacterSetSufficient(),
Uid()
virtual void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds& aIncrement,const CVersitDaylight* aDaylight)=0;
Converts a machine-local date/time property value into universal time. This is normally a two stage process; the time zone offset should be removed, and the daylight saving offset (if daylight saving is in effect) should be removed.
|
virtual void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds& aIncrement)=0;
Converts the property value stored as universal time into machine-local time. This process involves adjusting the date/time value by the daylight saving offset (if daylight saving is in effect) and by the time zone offset.
|
virtual TBool SupportsInterface(const TUid& aInterfaceUid) const;
Tests whether a property value supports the
CParserTimePropertyValue interface. This overrides the base class
implementation, for non-time related property value classes (which always
returns EFalse) to return ETrue if
KVersitTimePropertyUid is specified.
|
|