CVTzActualisedRules Class Reference

class CVTzActualisedRules : public CBase

Encapsulates a collection of the local time changes occurring during a range of years.

Inherits from

Constructor & Destructor Documentation

CVTzActualisedRules(TInt, TInt)

CVTzActualisedRules(TIntaStartYear,
TIntaEndYear
)[private]

Parameters

TInt aStartYear
TInt aEndYear

CVTzActualisedRules()

CVTzActualisedRules()[private]

~CVTzActualisedRules()

IMPORT_C~CVTzActualisedRules()

Member Functions Documentation

AddRuleL(const TVTzActualisedRule &)

IMPORT_C voidAddRuleL(const TVTzActualisedRule &aRule)

Parameters

const TVTzActualisedRule & aRule

CompareTimesWithRef(TTime, TTzTimeReference, TTime, TTzTimeReference, TInt, TTimeIntervalMinutes &)

TInt CompareTimesWithRef(TTimeaRolloverTime,
TTzTimeReferenceaTimeRefRollover,
TTimeaUserTime,
TTzTimeReferenceaTimeRefUser,
TIntaOldWallOffset,
TTimeIntervalMinutes &aDiffMinutes
)const [private]

Parameters

TTime aRolloverTime
TTzTimeReference aTimeRefRollover
TTime aUserTime
TTzTimeReference aTimeRefUser
TInt aOldWallOffset
TTimeIntervalMinutes & aDiffMinutes

Count()

IMPORT_C TIntCount()const

EndYear()

IMPORT_C TIntEndYear()const

GetOffsetFromRuleL(const TTime &, TTzTimeReference)

IMPORT_C TIntGetOffsetFromRuleL(const TTime &aTime,
TTzTimeReferenceaTimeRef
)const

Parameters

const TTime & aTime
TTzTimeReference aTimeRef

IsDaylightSavingOn(TTime &)

IMPORT_C TBoolIsDaylightSavingOn(TTime &aTime)const

Parameters

TTime & aTime

NewL(TInt, TInt)

IMPORT_C CVTzActualisedRules *NewL(TIntaStartYear,
TIntaEndYear
)[static]

Parameters

TInt aStartYear
TInt aEndYear

StartYear()

IMPORT_C TIntStartYear()const

operator[](TInt)

IMPORT_C TVTzActualisedRule &operator[](TIntaIndex)const

Parameters

TInt aIndex

Member Data Documentation

TInt32 iEndYear

TInt32 iEndYear[private]

RArray< TVTzActualisedRule > iRules

RArray< TVTzActualisedRule >iRules[private]

TInt32 iStartYear

TInt32 iStartYear[private]