178 CleanupStack::PushL( yearSubs ); |
178 CleanupStack::PushL( yearSubs ); |
179 yearSubs->AppendL( iHeavenlyStemNames->MdcaPoint( aInfo.iHeavenlyStem ) ); |
179 yearSubs->AppendL( iHeavenlyStemNames->MdcaPoint( aInfo.iHeavenlyStem ) ); |
180 yearSubs->AppendL( iTerrestialBranchNames->MdcaPoint( aInfo.iTerrestialBranch ) ); |
180 yearSubs->AppendL( iTerrestialBranchNames->MdcaPoint( aInfo.iTerrestialBranch ) ); |
181 |
181 |
182 HBufC* tmp = StringLoader::LoadLC( R_CALE_LUNAR_YEAR, *yearSubs, iEikEnv ); |
182 HBufC* tmp = StringLoader::LoadLC( R_CALE_LUNAR_YEAR, *yearSubs, iEikEnv ); |
|
183 #ifdef _DEBUG |
183 RDebug::Print( *tmp ); |
184 RDebug::Print( *tmp ); |
|
185 #endif |
184 localized->iLunarYear = *tmp; |
186 localized->iLunarYear = *tmp; |
185 CleanupStack::PopAndDestroy( tmp ); |
187 CleanupStack::PopAndDestroy( tmp ); |
186 CleanupStack::PopAndDestroy( yearSubs ); |
188 CleanupStack::PopAndDestroy( yearSubs ); |
187 |
189 |
|
190 #ifdef _DEBUG |
188 RDebug::Print( localized->iLunarYear ); |
191 RDebug::Print( localized->iLunarYear ); |
189 |
192 #endif |
|
193 |
190 LocalizeMonthAndDayL(localized, aInfo); |
194 LocalizeMonthAndDayL(localized, aInfo); |
191 |
195 |
192 // Full lunar date |
196 // Full lunar date |
193 CPtrCArray* subs = new (ELeave) CPtrCArray(2); |
197 CPtrCArray* subs = new (ELeave) CPtrCArray(2); |
194 CleanupStack::PushL( subs ); |
198 CleanupStack::PushL( subs ); |