TTzRule Class Reference

class TTzRule

Encapsulates one time zone rule.

Constructor & Destructor Documentation

TTzRule(TInt16, TInt16, TInt16, TInt16, TMonth, TTzRuleDay, TUint8, TUint8, TTzTimeReference, TUint16)

IMPORT_CTTzRule(TInt16aFromYear,
TInt16aToYear,
TInt16aOldOffset,
TInt16aNewOffset,
TMonthaMonth,
TTzRuleDayaDayRule,
TUint8aDayOfMonth,
TUint8aDayOfWeek,
TTzTimeReferenceaTimeReference,
TUint16aTimeOfChange
)

Parameters

TInt16 aFromYear
TInt16 aToYear
TInt16 aOldOffset
TInt16 aNewOffset
TMonth aMonth
TTzRuleDay aDayRule
TUint8 aDayOfMonth
TUint8 aDayOfWeek
TTzTimeReference aTimeReference
TUint16 aTimeOfChange

TTzRule()

IMPORT_CTTzRule()

TTzRule(const TTzRule &)

IMPORT_CTTzRule(const TTzRule &aRule)

Parameters

const TTzRule & aRule

TTzRule(TTimeWithReference, TTimeWithReference, TInt16, TInt16, TMonth, TTzRuleDay, TUint8, TUint8, TTzTimeReference, TUint16)

IMPORT_CTTzRule(TTimeWithReferenceaFromYear,
TTimeWithReferenceaToYear,
TInt16aOldOffset,
TInt16aNewOffset,
TMonthaMonth,
TTzRuleDayaDayRule,
TUint8aDayOfMonth,
TUint8aDayOfWeek,
TTzTimeReferenceaTimeReference,
TUint16aTimeOfChange
)

Parameters

TTimeWithReference aFromYear
TTimeWithReference aToYear
TInt16 aOldOffset
TInt16 aNewOffset
TMonth aMonth
TTzRuleDay aDayRule
TUint8 aDayOfMonth
TUint8 aDayOfWeek
TTzTimeReference aTimeReference
TUint16 aTimeOfChange

Member Functions Documentation

Actualise(TInt)

IMPORT_C TVTzActualisedRuleActualise(TIntaYear)const

Parameters

TInt aYear

ActualiseL(TInt)

IMPORT_C TVTzActualisedRuleActualiseL(TIntaYear)const

Parameters

TInt aYear

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Parameters

RWriteStream & aStream

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)

Parameters

RReadStream & aStream

RuleApplies(const TTime &, const TTime &)

TBool RuleApplies(const TTime &aStart,
const TTime &aEnd
)const

Parameters

const TTime & aStart
const TTime & aEnd

Member Data Documentation

TUint8 iDayOfMonth

TUint8 iDayOfMonth

TUint8 iDayOfWeek

TUint8 iDayOfWeek

TTzRuleDay iDayRule

TTzRuleDay iDayRule

TTimeWithReference iFrom

TTimeWithReference iFrom

TMonth iMonth

TMonth iMonth

TInt16 iNewLocalTimeOffset

TInt16 iNewLocalTimeOffset

TInt16 iOldLocalTimeOffset

TInt16 iOldLocalTimeOffset

TUint32 iReserved

TUint32 iReserved

TUint16 iTimeOfChange

TUint16 iTimeOfChange

TTzTimeReference iTimeReference

TTzTimeReference iTimeReference

TTimeWithReference iTo

TTimeWithReference iTo