Location:
vprop.h
Link against: versit.lib
CVersitDaylight
Supported from 5.0
Daylight saving information. During part of the year, the time may
need to be adjusted by a one hour offset — the daylight saving
offset. This offset needs to be taken into account when converting versit times
(TVersitDateTime
s) between universal and local time. This class
stores information about the offset, including when it takes effect and the
standard time designations. An instance of this class is owned by the
CParserPropertyValueDaylight
class.
|
Defined in CVersitDaylight
:
NewL()
, NewLC()
, iDaylightDesignation
, iEndTime
, iOffset
, iSavings
, iStandardDesignation
, iStartTime
, ~CVersitDaylight()
Inherited from CBase
:
operator new()
static CVersitDaylight* NewL(TBool aSavings, TTimeIntervalSeconds* aOffset, TVersitDateTime* aStartTime, TVersitDateTime* aEndTime, const TDesC& aStandardDesignation, const TDesC& aDaylightDesignation);
Allocates and constructs a new daylight saving object with a daylight savings flag, the time offset, the start and end date/times and the standard designations for time and daylight saving time.
|
|
static CVersitDaylight* NewLC(TBool aSavings, TTimeIntervalSeconds* aOffset, TVersitDateTime* aStartTime, TVersitDateTime* aEndTime, const TDesC& aStandardDesignation, const TDesC& aDaylightDesignation);
Allocates and constructs a new daylight saving object with a daylight savings flag, the time offset, the start and end date/time and the standard time and daylight saving time designations. Leaves the object on the cleanup stack.
|
|
~CVersitDaylight();
The destructor frees all resources owned by the object, prior to its destruction.
TBool iSavings
The daylight savings flag, i.e. ETrue
if daylight saving
is currently observed in the locale; EFalse
if not.
HBufC* iDaylightDesignation
The daylight saving time designation, e.g. BST, EDT.