Location:
vprop.h
Link against: versit.lib
CParserPropertyValueDaylight
Supported from 5.0
A property value which contains the daylight savings rule for a vCalendar.
The property value is stored using an instance of the
CVersitDaylight
class, which defines the specification for
daylight saving.
To find out the property value type, use Uid()
defined
in the base class CParserPropertyValue
. A daylight saving property
UID has the value KVersitPropertyDaylightUid
.
|
Defined in CParserPropertyValueDaylight
:
CParserPropertyValueDaylight()
, ConvertAllDateTimesToUTCL()
, ConvertAllUTCDateTimesToMachineLocalL()
, Value()
, ~CParserPropertyValueDaylight()
Inherited from CBase
:
operator new()
Inherited from CParserPropertyValue
:
EncodeL()
,
ExternalizeL()
,
IsAsciiCharacterSetSufficient()
,
Uid()
Inherited from CParserTimePropertyValue
:
SupportsInterface()
CParserPropertyValueDaylight(CVersitDaylight* aValue);
Constructs a new CParserPropertyValueDaylight
with
a CVersitDaylight
pointer. Sets the property value’s UID to
KVersitPropertyDaylightUid
.
|
~CParserPropertyValueDaylight();
Frees all resources owned by the property value, prior to its destruction.
void ConvertAllDateTimesToUTCL(const TTimeIntervalSeconds& aIncrement,const CVersitDaylight* aDaylight);
Converts the start and end times for the daylight saving period into universal time. This will only occur if daylight saving is in effect, and the start and end times for the daylight saving period are not currently stored in universal time.
The function adds the number of seconds specified in
aIncrement
, then modifies the resulting date/time value by the
daylight saving offset specified in aDaylight
, if
applicable.
|
void ConvertAllUTCDateTimesToMachineLocalL(const TTimeIntervalSeconds& aIncrement);
Converts the start and end times for the daylight saving period from universal time into local time for the target machine. This will only occur if daylight saving is in effect, and the start and end times for the daylight saving period are stored in universal time.
From v6.1, this function is deprecated.
|
CVersitDaylight* Value() const;
Gets the daylight saving property value.
|