CResourceLoader::LanguageSpecificNumberConverter Class Reference

class CResourceLoader::LanguageSpecificNumberConverter
Public Member Functions
voidConvert(TDes &)
voidConvertToWesternNumbers(TDes &)
TBool IsConversionNeeded()

Member Functions Documentation

Convert(TDes &)

voidConvert(TDes &aDes)[static]

This routine is used to convert between European digits and Arabic-Indic, Eastern Arabic-Indic, Devanagari or Thai digits based on existing digit type setting.

Parameters

TDes & aDesParameter to change

ConvertToWesternNumbers(TDes &)

voidConvertToWesternNumbers(TDes &aDes)[static]

This routine is used to convert Arabic-Indic, Eastern Arabic-Indic or Devanagari digits to European digits.

Parameters

TDes & aDesParameter to change

IsConversionNeeded()

TBool IsConversionNeeded()[static]
This routine is used to check if conversion of digits is needed. Conversion is needed if user language is
  • Arabic, Urdu or Farsi and if digit type is Arabic-Indic

  • Urdu or Farsi and digit type is Eastern Arabic_indic

  • Hindi and digit type is Devanagari.