class CTzRules : public CBase |
Encapsulates a collection of time zone rules, and includes the period covered by the rules and the standard time offset at the start of that period.
Public Member Functions | |
---|---|
~CTzRules() | |
IMPORT_C void | AddRuleL(TTzRule) |
IMPORT_C CTzRules * | CloneL() |
IMPORT_C TInt | ConvertTime(CVTzActualisedRules &, TTime &, TTzTimeReference) |
IMPORT_C void | ConvertToLocalL(TTime &) |
IMPORT_C void | ConvertToUtcL(TTime &) |
IMPORT_C void | CopyL(const CTzRules &) |
IMPORT_C TInt | Count() |
IMPORT_C TInt | EndYear() |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | GetActualisedRulesL(CVTzActualisedRules &) |
IMPORT_C TInt | GetOffsetL(const TTime &, TTzTimeReference) |
IMPORT_C TInt | InitialStdTimeOffset() |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C TBool | IsEqualTo(const CTzRules &) |
IMPORT_C CTzRules * | NewL() |
IMPORT_C CTzRules * | NewL(TInt, TInt) |
IMPORT_C CTzRules * | NewL(RReadStream &) |
IMPORT_C void | RemoveRule(TInt) |
IMPORT_C TBool | RulesApply(const TTime &) |
IMPORT_C void | SetEndYear(TInt) |
IMPORT_C void | SetInitialStdTimeOffset(TInt) |
IMPORT_C void | SetStartYear(TInt) |
IMPORT_C TInt | SizeOfObject() |
IMPORT_C TInt | StartYear() |
IMPORT_C TTzRule & | operator[](TInt) |
Private Member Functions | |
---|---|
CTzRules() | |
CTzRules(TInt, TInt) | |
void | AddActualisedRulesL(CVTzActualisedRules &, TInt) |
TInt | CompareTimesWithRef(TTime, TTzTimeReference, TTime, TTzTimeReference, TInt, TInt, TTimeIntervalMinutes *) |
Private Attributes | |
---|---|
CVTzActualisedRules * | iActualisedRulesCache |
TInt16 | iEndYear |
TInt | iInitialStdTimeOffset |
RArray< TTzRule > | iRules |
TInt16 | iStartYear |
void | AddActualisedRulesL | ( | CVTzActualisedRules & | aActRules, |
TInt | aYear | |||
) | const [private] |
CVTzActualisedRules & aActRules | |
TInt aYear |
TInt | CompareTimesWithRef | ( | TTime | aTimeA, |
TTzTimeReference | aTimeARef, | |||
TTime | aTimeB, | |||
TTzTimeReference | aTimeBRef, | |||
TInt | aStdOffset, | |||
TInt | aWallOffset, | |||
TTimeIntervalMinutes * | aMinutesDifference | |||
) | const [private] |
TTime aTimeA | |
TTzTimeReference aTimeARef | |
TTime aTimeB | |
TTzTimeReference aTimeBRef | |
TInt aStdOffset | |
TInt aWallOffset | |
TTimeIntervalMinutes * aMinutesDifference |
IMPORT_C TInt | ConvertTime | ( | CVTzActualisedRules & | aRules, |
TTime & | aTime, | |||
TTzTimeReference | aTimerRef | |||
) | const |
CVTzActualisedRules & aRules | |
TTime & aTime | |
TTzTimeReference aTimerRef |
IMPORT_C void | ConvertToLocalL | ( | TTime & | aUtcTime | ) | const |
TTime & aUtcTime |
IMPORT_C void | ConvertToUtcL | ( | TTime & | aLocalTime | ) | const |
TTime & aLocalTime |
IMPORT_C void | CopyL | ( | const CTzRules & | aTzRule | ) |
const CTzRules & aTzRule |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
IMPORT_C void | GetActualisedRulesL | ( | CVTzActualisedRules & | aActRules | ) | const |
CVTzActualisedRules & aActRules |
IMPORT_C TInt | GetOffsetL | ( | const TTime & | aTime, |
TTzTimeReference | aTimeRef | |||
) | const |
const TTime & aTime | |
TTzTimeReference aTimeRef |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
IMPORT_C TBool | IsEqualTo | ( | const CTzRules & | aRules | ) | const |
const CTzRules & aRules |
IMPORT_C CTzRules * | NewL | ( | RReadStream & | aStream | ) | [static] |
RReadStream & aStream |
IMPORT_C TBool | RulesApply | ( | const TTime & | aTime | ) | const |
const TTime & aTime |
IMPORT_C void | SetInitialStdTimeOffset | ( | TInt | aOffset | ) |
TInt aOffset |