94
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: ?Description
|
|
15 |
*
|
|
16 |
*/
|
98
|
17 |
#include <HbParameterLengthLimiter>
|
102
|
18 |
#include <HbExtendedLocale>
|
94
|
19 |
#include <QMetaType>
|
|
20 |
#include <QScopedPointer>
|
98
|
21 |
#include <QStringList>
|
102
|
22 |
#include <QDateTime>
|
94
|
23 |
#include <usif/scr/scr.h>
|
|
24 |
#include <xqconversions.h>
|
96
|
25 |
#include <driveinfo.h>
|
119
|
26 |
#include <hbtextresolversymbian.h>
|
94
|
27 |
|
107
|
28 |
#include "cauninstallnotifier.h"
|
|
29 |
#include "cauninstallnotifier_p.h"
|
94
|
30 |
#include "casoftwareregistry.h"
|
|
31 |
#include "casoftwareregistry_p.h"
|
102
|
32 |
#include "cadefs.h"
|
|
33 |
#include "caarraycleanup.inl"
|
119
|
34 |
#include "cautils.h"
|
94
|
35 |
|
127
|
36 |
|
94
|
37 |
using namespace Usif;
|
98
|
38 |
_LIT(KConfirmMessageKey, "MIDlet-Delete-Confirm");
|
102
|
39 |
_LIT(KCaScrPropertyDomainCategory, "Domain-Category");
|
|
40 |
_LIT(KCaScrPropertyMidletDescryption, "MIDlet-Description");
|
116
|
41 |
_LIT(KNotNamedMmc, "NO NAME");
|
127
|
42 |
|
|
43 |
const int maxLogsCount = 50;
|
|
44 |
const TInt64 KLongKilo = 1024;
|
|
45 |
const TInt64 KLongMega = KLongKilo * KLongKilo;
|
98
|
46 |
|
94
|
47 |
/*!
|
|
48 |
Constructor
|
|
49 |
\param servicePublic Pointer to object of the public class.
|
|
50 |
*/
|
|
51 |
CaSoftwareRegistryPrivate::CaSoftwareRegistryPrivate(
|
102
|
52 |
CaSoftwareRegistry *servicePublic):
|
94
|
53 |
m_q(servicePublic)
|
|
54 |
{
|
|
55 |
}
|
|
56 |
|
|
57 |
/*!
|
|
58 |
Destructor.
|
|
59 |
*/
|
|
60 |
CaSoftwareRegistryPrivate::~CaSoftwareRegistryPrivate()
|
|
61 |
{
|
|
62 |
}
|
|
63 |
|
|
64 |
/*!
|
98
|
65 |
Provides details needed for uninstalling process of Java applications.
|
|
66 |
\param[in] componentId component id of an application to be uninstalled.
|
|
67 |
\param[out] componentName a name of the component.
|
|
68 |
\param[out] applicationsUids a list of uids of applications in the package
|
|
69 |
of the given component id.
|
|
70 |
\param[out] confirmationMessage optional deletion confirmation message,
|
|
71 |
null string means the lack of the message.
|
|
72 |
\retval true if there is no error.
|
|
73 |
*/
|
|
74 |
|
|
75 |
bool CaSoftwareRegistryPrivate::getUninstallDetails(int componentId,
|
127
|
76 |
QString &componentName, QStringList &applicationsUids,
|
102
|
77 |
QString &confirmationMessage)
|
98
|
78 |
{
|
127
|
79 |
TRAPD(error, getUninstallDetailsL(
|
|
80 |
componentId, componentName, applicationsUids, confirmationMessage)
|
102
|
81 |
);
|
98
|
82 |
return error == KErrNone;
|
|
83 |
}
|
|
84 |
|
|
85 |
/*!
|
|
86 |
Provides a list of uids of applications installed by the given package.
|
|
87 |
\param[in] componentId component id of an application to be uninstalled.
|
|
88 |
\param[out] applicationsUids a list of uids of applications in the package
|
|
89 |
of the given component id.
|
|
90 |
\retval true if there is no error.
|
|
91 |
*/
|
|
92 |
|
|
93 |
bool CaSoftwareRegistryPrivate::getApplicationsUids(int componentId,
|
102
|
94 |
QStringList &applicationsUids)
|
98
|
95 |
{
|
|
96 |
TRAPD(error, getApplicationsUidsL(componentId, applicationsUids));
|
|
97 |
return error == KErrNone;
|
|
98 |
}
|
|
99 |
|
|
100 |
/*!
|
|
101 |
Provides details needed for uninstalling process of Java applications
|
|
102 |
(leaving version).
|
|
103 |
\param[in] componentId component id of an application to be uninstalled.
|
|
104 |
\param[out] componentName a name of the component.
|
|
105 |
\param[out] applicationsUids a list of uids of applications in the package
|
|
106 |
of the given component id.
|
|
107 |
\param[out] confirmationMessage optional deletion confirmation message,
|
|
108 |
null string means the lack of the message.
|
|
109 |
*/
|
|
110 |
void CaSoftwareRegistryPrivate::getUninstallDetailsL(int componentId,
|
127
|
111 |
QString &componentName, QStringList &appUids,
|
102
|
112 |
QString &confirmationMessage)
|
98
|
113 |
{
|
127
|
114 |
if (componentId > 0) {
|
98
|
115 |
TComponentId componentIdValue(componentId);
|
|
116 |
RArray<TUid> appUidsArray;
|
|
117 |
CleanupClosePushL(appUidsArray);
|
|
118 |
CLocalizablePropertyEntry *confirmationMessageProperty = NULL;
|
|
119 |
|
|
120 |
RSoftwareComponentRegistry softwareComponentRegistry;
|
|
121 |
CleanupClosePushL(softwareComponentRegistry);
|
|
122 |
User::LeaveIfError(softwareComponentRegistry.Connect());
|
|
123 |
|
|
124 |
CComponentEntry *entry = CComponentEntry::NewLC();
|
|
125 |
softwareComponentRegistry.GetComponentL(componentId, *entry);
|
102
|
126 |
softwareComponentRegistry.GetAppUidsForComponentL(
|
|
127 |
componentIdValue, appUidsArray);
|
98
|
128 |
|
102
|
129 |
CPropertyEntry *confirmationProperty
|
|
130 |
= softwareComponentRegistry.GetComponentPropertyL(
|
|
131 |
componentId, KConfirmMessageKey);
|
|
132 |
if (confirmationProperty
|
|
133 |
&& confirmationProperty->PropertyType()
|
|
134 |
== CPropertyEntry::ELocalizedProperty) {
|
|
135 |
confirmationMessageProperty
|
|
136 |
= static_cast<CLocalizablePropertyEntry *>(
|
|
137 |
confirmationProperty);
|
98
|
138 |
} else {
|
|
139 |
delete confirmationProperty;
|
|
140 |
confirmationProperty = NULL;
|
|
141 |
}
|
|
142 |
|
127
|
143 |
appUids.clear();
|
98
|
144 |
QT_TRYCATCH_LEAVING(componentName =
|
|
145 |
XQConversions::s60DescToQString(entry->Name());
|
|
146 |
for (TInt i = 0; i<appUidsArray.Count(); i++) {
|
|
147 |
appUids.append(QString::number(appUidsArray[i].iUid));
|
|
148 |
}
|
|
149 |
if (confirmationMessageProperty) {
|
|
150 |
confirmationMessage = XQConversions::s60DescToQString(
|
102
|
151 |
confirmationMessageProperty->StrValue());
|
98
|
152 |
}
|
|
153 |
);
|
|
154 |
|
|
155 |
CleanupStack::PopAndDestroy(3, &appUidsArray);
|
|
156 |
}
|
|
157 |
}
|
|
158 |
|
|
159 |
/*!
|
|
160 |
Provides details needed for uninstalling process of Java applications
|
|
161 |
(leaving version).
|
|
162 |
\param[in] componentId component id of an application to be uninstalled.
|
|
163 |
\param[out] applicationsUids a list of uids of applications in the package
|
|
164 |
of the given component id.
|
|
165 |
*/
|
|
166 |
void CaSoftwareRegistryPrivate::getApplicationsUidsL(int componentId,
|
|
167 |
QStringList &appUids)
|
|
168 |
{
|
127
|
169 |
if (componentId > 0) {
|
98
|
170 |
TComponentId componentIdValue(componentId);
|
|
171 |
RArray<TUid> appUidsArray;
|
|
172 |
CleanupClosePushL(appUidsArray);
|
|
173 |
|
|
174 |
RSoftwareComponentRegistry softwareComponentRegistry;
|
|
175 |
CleanupClosePushL(softwareComponentRegistry);
|
|
176 |
User::LeaveIfError(softwareComponentRegistry.Connect());
|
|
177 |
|
102
|
178 |
softwareComponentRegistry.GetAppUidsForComponentL(
|
|
179 |
componentIdValue, appUidsArray);
|
98
|
180 |
|
127
|
181 |
appUids.clear();
|
98
|
182 |
QT_TRYCATCH_LEAVING(
|
127
|
183 |
for (TInt i = 0; i < appUidsArray.Count(); i++) {
|
98
|
184 |
appUids.append(QString::number(appUidsArray[i].iUid));
|
|
185 |
}
|
|
186 |
);
|
|
187 |
CleanupStack::PopAndDestroy(2, &appUidsArray);
|
|
188 |
}
|
|
189 |
}
|
|
190 |
|
|
191 |
/*!
|
94
|
192 |
\param componentId Component id of the entry which details are requested for.
|
|
193 |
\return Map of component details if component id was greater than 0 or
|
102
|
194 |
empty map otherwise.
|
94
|
195 |
*/
|
|
196 |
CaSoftwareRegistryPrivate::DetailMap CaSoftwareRegistryPrivate::entryDetails(
|
|
197 |
int componentId) const
|
|
198 |
{
|
|
199 |
CaSoftwareRegistry::DetailMap result;
|
127
|
200 |
TRAP_IGNORE(result = entryDetailsL(componentId));
|
102
|
201 |
return result;
|
|
202 |
}
|
|
203 |
|
|
204 |
/*!
|
|
205 |
\param componentId Component id of the entry which details are requested for.
|
|
206 |
\return Map of component details if component id was greater than 0 or
|
|
207 |
empty map otherwise.
|
|
208 |
*/
|
|
209 |
CaSoftwareRegistryPrivate::DetailMap CaSoftwareRegistryPrivate::entryDetailsL(
|
|
210 |
int componentId) const
|
|
211 |
{
|
|
212 |
CaSoftwareRegistry::DetailMap result;
|
94
|
213 |
|
|
214 |
if (componentId >= 1) {
|
102
|
215 |
RSoftwareComponentRegistry scr;
|
|
216 |
CleanupClosePushL(scr);
|
|
217 |
if (scr.Connect() == KErrNone) {
|
|
218 |
CComponentEntry* entry = CComponentEntry::NewLC();
|
106
|
219 |
if (scr.GetComponentL(componentId, *entry)) {
|
102
|
220 |
result = entryDetailsL(*entry);
|
106
|
221 |
if (entry->SoftwareType().Compare(KSoftwareTypeJava) == 0) {
|
|
222 |
CPropertyEntry* domainProperty =
|
127
|
223 |
scr.GetComponentPropertyL(componentId,
|
|
224 |
KCaScrPropertyDomainCategory);
|
106
|
225 |
CleanupStack::PushL(domainProperty);
|
127
|
226 |
if (domainProperty
|
|
227 |
&& domainProperty->PropertyType()
|
|
228 |
== CPropertyEntry::ELocalizedProperty) {
|
119
|
229 |
const TDesC& domainPropertyValue = static_cast<CLocalizablePropertyEntry*>(
|
|
230 |
domainProperty)->StrValue();
|
|
231 |
TInt splitIndex = domainPropertyValue.Locate(',');
|
|
232 |
RBuf qmFileName;
|
|
233 |
qmFileName.CleanupClosePushL();
|
|
234 |
qmFileName.CreateL(domainPropertyValue.Right(
|
|
235 |
domainPropertyValue.Length() - splitIndex - 1),
|
|
236 |
domainPropertyValue.Length() - splitIndex);
|
|
237 |
qmFileName.Append('_');
|
|
238 |
MenuUtils::InitTextResolverSymbianL(qmFileName);
|
|
239 |
HBufC* translatedProtectionDomain = HbTextResolverSymbian::LoadLC(
|
|
240 |
domainPropertyValue.Left(splitIndex));
|
106
|
241 |
result[CaSoftwareRegistry::componentProtectionDomainKey()] =
|
119
|
242 |
XQConversions::s60DescToQString(*translatedProtectionDomain);
|
|
243 |
CleanupStack::PopAndDestroy(translatedProtectionDomain);
|
|
244 |
CleanupStack::PopAndDestroy(&qmFileName);
|
106
|
245 |
}
|
102
|
246 |
|
106
|
247 |
CPropertyEntry *midletDescryption =
|
|
248 |
scr.GetComponentPropertyL(componentId,
|
|
249 |
KCaScrPropertyMidletDescryption);
|
|
250 |
CleanupStack::PushL(midletDescryption);
|
|
251 |
if (midletDescryption &&
|
|
252 |
midletDescryption->PropertyType() ==
|
|
253 |
CPropertyEntry::ELocalizedProperty) {
|
|
254 |
result[CaSoftwareRegistry::componentDescriptionKey()] =
|
|
255 |
XQConversions::s60DescToQString(
|
|
256 |
static_cast<CLocalizablePropertyEntry*>(
|
|
257 |
midletDescryption)->StrValue());
|
|
258 |
}
|
|
259 |
CleanupStack::PopAndDestroy(midletDescryption);
|
|
260 |
CleanupStack::PopAndDestroy(domainProperty);
|
102
|
261 |
}
|
|
262 |
}
|
|
263 |
CleanupStack::PopAndDestroy(entry);
|
98
|
264 |
}
|
102
|
265 |
CleanupStack::PopAndDestroy(&scr);
|
94
|
266 |
}
|
|
267 |
return result;
|
|
268 |
}
|
|
269 |
|
|
270 |
/*!
|
|
271 |
\param entry Software registry entry providing details.
|
|
272 |
\return Map with details for the component represented by \entry.
|
|
273 |
*/
|
102
|
274 |
CaSoftwareRegistryPrivate::DetailMap CaSoftwareRegistryPrivate::entryDetailsL(
|
94
|
275 |
const CComponentEntry& entry) const
|
|
276 |
{
|
|
277 |
CaSoftwareRegistry::DetailMap detailMap;
|
102
|
278 |
|
|
279 |
detailMap[CaSoftwareRegistry::componentNameKey()] =
|
94
|
280 |
XQConversions::s60DescToQString(entry.Name());
|
102
|
281 |
|
|
282 |
detailMap[CaSoftwareRegistry::componentVersionKey()] =
|
94
|
283 |
XQConversions::s60DescToQString(entry.Version());
|
102
|
284 |
|
|
285 |
detailMap[CaSoftwareRegistry::componentVendorKey()] =
|
94
|
286 |
XQConversions::s60DescToQString(entry.Vendor());
|
102
|
287 |
|
94
|
288 |
QString drives;
|
102
|
289 |
TChar drive;
|
|
290 |
|
94
|
291 |
const TInt driveListLen(entry.InstalledDrives().Length());
|
127
|
292 |
for (TInt i = 0; i < driveListLen; i++) {
|
94
|
293 |
if (entry.InstalledDrives()[i] != '\0') {
|
102
|
294 |
|
94
|
295 |
if (!drives.isEmpty()) {
|
125
|
296 |
drives = drives.append("\n");
|
102
|
297 |
}
|
116
|
298 |
if (DriveInfo::GetDefaultDrive(
|
102
|
299 |
DriveInfo::EDefaultPhoneMemory, drive ) == KErrNone
|
|
300 |
&& QChar('A'+ i) == QChar(drive)) {
|
|
301 |
drives = drives.append(HbParameterLengthLimiter(
|
|
302 |
"txt_applib_dialog_1_device_memory").arg(
|
|
303 |
QString(QChar('A'+ i))));
|
116
|
304 |
} else if (DriveInfo::GetDefaultDrive(
|
102
|
305 |
DriveInfo::EDefaultMassStorage, drive ) == KErrNone
|
|
306 |
&& QChar('A'+ i) == QChar(drive)) {
|
|
307 |
drives = drives.append(HbParameterLengthLimiter(
|
|
308 |
"txt_applib_dialog_1_mass_storage").arg(
|
|
309 |
QString(QChar('A'+ i))));
|
116
|
310 |
} else if (DriveInfo::GetDefaultDrive(
|
102
|
311 |
DriveInfo::EDefaultRemovableMassStorage, drive ) == KErrNone
|
|
312 |
&& QChar('A'+ i) == QChar(drive)) {
|
96
|
313 |
RFs fs;
|
102
|
314 |
CleanupClosePushL(fs);
|
98
|
315 |
if (fs.Connect() == KErrNone) {
|
|
316 |
TInt driveNumber;
|
|
317 |
TVolumeInfo tv;
|
|
318 |
DriveInfo::GetDefaultDrive(
|
102
|
319 |
DriveInfo::EDefaultRemovableMassStorage,
|
|
320 |
driveNumber );
|
|
321 |
User::LeaveIfError(fs.Volume(tv, driveNumber));
|
116
|
322 |
if (tv.iName.Length()
|
|
323 |
&& tv.iName.Compare(KNotNamedMmc) != KErrNone) {
|
102
|
324 |
drives = drives.append(HbParameterLengthLimiter(
|
|
325 |
"txt_applib_dialog_1_2").arg(
|
|
326 |
QString(QChar('A'+ i))).arg(
|
|
327 |
XQConversions::s60DescToQString(
|
|
328 |
tv.iName)));
|
|
329 |
} else {
|
|
330 |
drives = drives.append(HbParameterLengthLimiter(
|
|
331 |
"txt_applib_dialog_1_memory_card").arg(
|
|
332 |
QString(QChar('A'+ i))));
|
98
|
333 |
}
|
96
|
334 |
}
|
102
|
335 |
CleanupStack::PopAndDestroy(&fs);
|
98
|
336 |
} else {
|
102
|
337 |
drives = drives.append(QChar('A'+ i)).append(":");
|
96
|
338 |
}
|
94
|
339 |
}
|
|
340 |
}
|
|
341 |
detailMap[CaSoftwareRegistry::componentDriveInfoKey()] = drives;
|
98
|
342 |
|
127
|
343 |
if(entry.ComponentSize() >= KLongMega) {
|
102
|
344 |
detailMap[CaSoftwareRegistry::componentSizeKey()]
|
|
345 |
= HbParameterLengthLimiter("txt_applib_dialog_l1_mb").arg(
|
127
|
346 |
static_cast<double>(entry.ComponentSize()/KLongMega));
|
102
|
347 |
} else {
|
|
348 |
detailMap[CaSoftwareRegistry::componentSizeKey()]
|
|
349 |
= HbParameterLengthLimiter("txt_applib_dialog_l1_kb").arg(
|
127
|
350 |
static_cast<double>(entry.ComponentSize()/KLongKilo));
|
98
|
351 |
}
|
102
|
352 |
detailMap[CaSoftwareRegistry::componentTypeKey()] =
|
94
|
353 |
XQConversions::s60DescToQString(entry.SoftwareType());
|
|
354 |
|
|
355 |
return detailMap;
|
|
356 |
}
|
102
|
357 |
|
|
358 |
/*!
|
|
359 |
\param entry Software registry entry providing details.
|
|
360 |
\return Map with details for the component represented by \entry.
|
|
361 |
*/
|
|
362 |
QList<CaSoftwareRegistryPrivate::DetailMap>
|
|
363 |
CaSoftwareRegistryPrivate::retrieveLogEntries() const
|
|
364 |
{
|
|
365 |
QList<CaSoftwareRegistryPrivate::DetailMap> logMap;
|
|
366 |
TRAP_IGNORE(logMap = retrieveLogEntriesL());
|
|
367 |
return logMap;
|
|
368 |
}
|
107
|
369 |
/*!
|
|
370 |
Creating uninstall notifier
|
|
371 |
\return CaUninstallNotifier instance
|
|
372 |
*/
|
|
373 |
CaUninstallNotifier *CaSoftwareRegistryPrivate::createUninstallNotifier() const
|
|
374 |
{
|
|
375 |
return CaUninstallNotifier::notifier();
|
|
376 |
}
|
102
|
377 |
|
|
378 |
/*!
|
|
379 |
\param entry Software registry entry providing installation log.
|
|
380 |
\return List of Maps with installation log.
|
|
381 |
*/
|
|
382 |
QList<CaSoftwareRegistryPrivate::DetailMap>
|
|
383 |
CaSoftwareRegistryPrivate::retrieveLogEntriesL() const
|
|
384 |
{
|
|
385 |
QList<CaSoftwareRegistryPrivate::DetailMap> logList;
|
|
386 |
|
|
387 |
RSoftwareComponentRegistry scr;
|
|
388 |
CleanupClosePushL(scr);
|
|
389 |
User::LeaveIfError(scr.Connect());
|
|
390 |
|
|
391 |
RPointerArray<CScrLogEntry> logEntries;
|
|
392 |
CleanupResetAndDestroyPushL(logEntries);
|
|
393 |
scr.RetrieveLogEntriesL(logEntries);
|
|
394 |
|
|
395 |
// 50 log items or less - ui spec
|
|
396 |
TInt lastLog(0);
|
|
397 |
if (logEntries.Count() > maxLogsCount) {
|
|
398 |
lastLog = logEntries.Count() - maxLogsCount;
|
|
399 |
}
|
|
400 |
// iteration through most recent log to the last
|
|
401 |
for (TInt i = logEntries.Count() - 1; i >= lastLog; i--) {
|
|
402 |
CScrLogEntry* entry = logEntries[i];
|
|
403 |
DetailMap logMap;
|
|
404 |
logMap[CaSoftwareRegistry::componentNameKey()]
|
|
405 |
= XQConversions::s60DescToQString(entry->ComponentName());
|
|
406 |
logMap[CaSoftwareRegistry::componentVersionKey()]
|
|
407 |
= XQConversions::s60DescToQString(entry->ComponentVersion());
|
|
408 |
logMap[CaSoftwareRegistry::componentTimeKey()]
|
|
409 |
= operationTime(entry->OperationTime());
|
|
410 |
logMap[CaSoftwareRegistry::componentOperationTypeKey()]
|
|
411 |
= operationTypeL(entry->OperationType());
|
|
412 |
logList.append(logMap);
|
|
413 |
}
|
|
414 |
CleanupStack::PopAndDestroy(&logEntries);
|
|
415 |
CleanupStack::PopAndDestroy(&scr);
|
|
416 |
|
|
417 |
return logList;
|
|
418 |
}
|
|
419 |
|
|
420 |
/*!
|
|
421 |
\param operation type.
|
|
422 |
\return string representing operation type.
|
|
423 |
*/
|
127
|
424 |
QString CaSoftwareRegistryPrivate::operationTypeL(
|
|
425 |
Usif::TScrComponentOperationType operationType) const
|
102
|
426 |
{
|
|
427 |
QString opType;
|
|
428 |
switch (operationType) {
|
|
429 |
case EScrCompInstall:
|
|
430 |
opType = CaSoftwareRegistry::componentInstallValue();
|
|
431 |
break;
|
|
432 |
case EScrCompUnInstall:
|
|
433 |
opType = CaSoftwareRegistry::componentUninstallValue();
|
|
434 |
break;
|
|
435 |
case EScrCompUpgrade:
|
|
436 |
opType = CaSoftwareRegistry::componentUpgradeValue();
|
|
437 |
break;
|
|
438 |
case EScrCompHidden:
|
|
439 |
opType = CaSoftwareRegistry::componentHiddenValue();
|
|
440 |
break;
|
|
441 |
default:
|
|
442 |
User::Leave(KErrNotSupported);
|
|
443 |
break;
|
|
444 |
}
|
|
445 |
return opType;
|
|
446 |
}
|
|
447 |
|
|
448 |
/*!
|
|
449 |
\param operation type.
|
|
450 |
\return string representing operation type.
|
|
451 |
*/
|
|
452 |
QString CaSoftwareRegistryPrivate::operationTime(TTime time) const
|
|
453 |
{
|
|
454 |
TDateTime dt = time.DateTime();
|
106
|
455 |
QDate date(dt.Year(), dt.Month() + 1, dt.Day() + 1);
|
102
|
456 |
HbExtendedLocale hbLoc;
|
|
457 |
return hbLoc.format(date, r_qtn_date_usual_with_zero);
|
|
458 |
}
|