Location:
vprop.h
Link against: versit.lib
CParserPropertyValueMultiDateTime
Supported from 5.0
A property value which consists of a list of date/time values. This
can be externalised and converted between local time and universal time. To
find out the property value type, use Uid()
defined in the base
class CParserPropertyValue
. A multiple date/time property value
UID has the value KVersitPropertyMultiDateTimeUid
.
The class defines an ExternalizeL()
function which has
not been documented. It is invoked by the parser's ExternalizeL()
function.
|
Defined in CParserPropertyValueMultiDateTime
:
CParserPropertyValueMultiDateTime()
, ConvertAllDateTimesToUTCL()
, ConvertAllUTCDateTimesToMachineLocalL()
, Value()
, ~CParserPropertyValueMultiDateTime()
Inherited from CBase
:
operator new()
Inherited from CParserPropertyValue
:
EncodeL()
,
ExternalizeL()
,
IsAsciiCharacterSetSufficient()
,
Uid()
Inherited from CParserTimePropertyValue
:
SupportsInterface()
CParserPropertyValueMultiDateTime(CArrayPtr<TVersitDateTime>* aValue);
Constructs a CParserPropertyValueMultiDateTime
with an array of TVersitDateTime
s. Sets the property
value’s UID to KVersitPropertyMultiDateTimeUid
.
|
~CParserPropertyValueMultiDateTime();
Frees all resources owned by the property value, prior to its destruction.
void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds& aIncrement,const CVersitDaylight* aDaylight);
Converts each of the date/time values owned by the
CParserPropertyValueMultiDateTime
object into universal time which
are not already stored in universal time. The function first adds the number of
seconds specified in aIncrement
, then, the resulting date/time
value is modified by the daylight saving offset specified in
aDaylight
, if applicable.
|
void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds& aIncrement);
Converts all of the date/time values owned by the
CParserPropertyValueMultiDateTime
object into the local time for
the target machine if they are stored as universal time.
|
CArrayPtr<TVersitDateTime>* Value() const;
Gets a pointer to the list of date/time values owned by the
CParserPropertyValueMultiDateTime
object.
|