Location:
vprop.h
Link against: versit.lib
CParserPropertyValueDateTime
Supported from 5.0
A date/time property value. The date/time value is contained in a
TVersitDateTime object. The member functions of class
TDateTime may be used to extract the date and time components from
TVersitDateTime::iDateTime.
To find out the property value type, use Uid() defined
in the base class CParserPropertyValue. A date/time property UID
has the value KVersitPropertyDateTimeUid.
|
Defined in CParserPropertyValueDateTime:
CParserPropertyValueDateTime(), ConvertAllDateTimesToUTCL(), ConvertAllUTCDateTimesToMachineLocalL(), Value(), ~CParserPropertyValueDateTime()
Inherited from CBase:
operator new()
Inherited from CParserPropertyValue:
EncodeL(),
ExternalizeL(),
IsAsciiCharacterSetSufficient(),
Uid()
Inherited from CParserTimePropertyValue:
SupportsInterface()
CParserPropertyValueDateTime(TVersitDateTime* aValue);
Constructs a CParserPropertyValueDateTime with a
TVersitDateTime. Sets the property value’s UID to
KVersitPropertyDateTimeUid.
|
~CParserPropertyValueDateTime();
Frees all resources owned by the property value, prior to its destruction.
void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds& aIncrement,const CVersitDaylight* aDaylight);
Converts the CParserPropertyValueDateTime object's
date/time value into universal time. The function has no effect if the value is
already stored as universal time.
The number of seconds specified in aIncrement is added
to the date/time, then the resulting date/time is modified by the daylight
saving offset specified in aDaylight, if applicable.
|
void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds& aIncrement);
Converts the CParserPropertyValueDateTime object's
date/time into the local time for the target machine if it is stored as
universal time.
|
TVersitDateTime* Value() const;
Gets a pointer to the date/time value.
|