CCalenLunarLocalizer Class Reference

class CCalenLunarLocalizer : public CBase

Inherits from

Constructor & Destructor Documentation

CCalenLunarLocalizer()

IMPORT_C CCalenLunarLocalizer ( ) [protected]

~CCalenLunarLocalizer()

IMPORT_C ~CCalenLunarLocalizer ( ) [virtual]

Member Functions Documentation

ConstructL()

IMPORT_C void ConstructL ( ) [protected]

GetChineseDay(const TChineseDate &, TDes &)

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

Parameters

const TChineseDate & aChineseDate
TDes & aDes

GetChineseDigits(TInt, TDes &)

void GetChineseDigits ( TInt aNum,
TDes & aDes
) [private]

Parameters

TInt aNum
TDes & aDes

GetChineseMonth(const TChineseDate &, TDes &)

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

Parameters

const TChineseDate & aChineseDate
TDes & aDes

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

IMPORT_C TPtrC GetExtraRowTextL ( CCalenLunarLocalizedInfo & aLocInfo,
TInt aMaxWidth,
const CFont & aFont,
TBool aTwoLines
) [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 &)

void LocalizeMonthAndDayL ( 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.