CCalenLunarLocalizer Class Reference

class CCalenLunarLocalizer : public CBase

Inherits from

  • CCalenLunarLocalizer

Constructor & Destructor Documentation

CCalenLunarLocalizer()

IMPORT_CCCalenLunarLocalizer()[protected]

~CCalenLunarLocalizer()

IMPORT_C~CCalenLunarLocalizer()[virtual]

Member Functions Documentation

ConstructL()

IMPORT_C voidConstructL()[protected]

GetChineseDay(const TChineseDate &, TDes &)

voidGetChineseDay(const TChineseDate &aChineseDate,
TDes &aDes
)[private]

Parameters

const TChineseDate & aChineseDate
TDes & aDes

GetChineseDigits(TInt, TDes &)

voidGetChineseDigits(TIntaNum,
TDes &aDes
)[private]

Parameters

TInt aNum
TDes & aDes

GetChineseMonth(const TChineseDate &, TDes &)

voidGetChineseMonth(const TChineseDate &aChineseDate,
TDes &aDes
)[private]

Parameters

const TChineseDate & aChineseDate
TDes & aDes

GetExtraRowTextL(CCalenLunarLocalizedInfo &, TInt, const CFont &, TBool)

IMPORT_C TPtrCGetExtraRowTextL(CCalenLunarLocalizedInfo &aLocInfo,
TIntaMaxWidth,
const CFont &aFont,
TBoolaTwoLines
)[virtual]

Parameters

CCalenLunarLocalizedInfo & aLocInfo
TInt aMaxWidth
const CFont & aFont
TBool aTwoLines

LocalizeL(TCalenLunarInfo &)

IMPORT_C CCalenLunarLocalizedInfo *LocalizeL(TCalenLunarInfo &aInfo)[virtual]

Parameters

TCalenLunarInfo & aInfo

LocalizeMonthAndDayL(CCalenLunarLocalizedInfo *, TCalenLunarInfo &)

voidLocalizeMonthAndDayL(CCalenLunarLocalizedInfo *aLocInfo,
TCalenLunarInfo &aInfo
)[protected, virtual]

Parameters

CCalenLunarLocalizedInfo * aLocInfo
TCalenLunarInfo & aInfo

NewL()

IMPORT_C CCalenLunarLocalizer *NewL()[static]

TryToFitL(const TDesC &)

TBool TryToFitL(const TDesC &aStr)[protected]

Parameters

const TDesC & aStr

Member Data Documentation

CDesCArray * iAnimalYearNames

CDesCArray *iAnimalYearNames[protected]

Localized names of animal years Own.

CEikonEnv * iEikEnv

CEikonEnv *iEikEnv[protected]

CDesCArray * iFestivalNames

CDesCArray *iFestivalNames[protected]

Localized names of lunar festivals Own.

HBufC * iGregorianDateFormat

HBufC *iGregorianDateFormat[protected]

Format string for western date. Own.

CDesCArray * iHeavenlyStemNames

CDesCArray *iHeavenlyStemNames[protected]

Localized names of heavenly stems Own.

TBuf< 1000 > iLunarExtraRowText

TBuf< 1000 >iLunarExtraRowText[protected]

TInt iResourceFileOffset

TInt iResourceFileOffset[protected]

CCalenExtraRowFormatter * iRowFormatter

CCalenExtraRowFormatter *iRowFormatter[protected]

Language independent formatter of extra row information.

CDesCArray * iSolarTermNames

CDesCArray *iSolarTermNames[protected]

Localized names of solar terms Own.

CDesCArray * iTerrestialBranchNames

CDesCArray *iTerrestialBranchNames[protected]

Localized names of terrestial branches Own.