0
|
1 |
// Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
// All rights reserved.
|
|
3 |
// This component and the accompanying materials are made available
|
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
|
5 |
// which accompanies this distribution, and is available
|
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
// LS_TEST.CPP
|
|
15 |
// Test Locale for Testing
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
#include <ls_std.h>
|
|
20 |
#include "complocl.h"
|
|
21 |
|
|
22 |
|
|
23 |
// The configuration data
|
|
24 |
const TLanguage LLocaleData::Language = ELangReserved2 ;
|
|
25 |
const TInt LLocaleData::CountryCode = 44;
|
|
26 |
const TInt LLocaleData::UniversalTimeOffset = 0;
|
|
27 |
const TDateFormat LLocaleData::DateFormat = EDateEuropean;
|
|
28 |
const TTimeFormat LLocaleData::TimeFormat = ETime12;
|
|
29 |
const TLocalePos LLocaleData::CurrencySymbolPosition = ELocaleBefore;
|
|
30 |
const TBool LLocaleData::CurrencySpaceBetween = EFalse;
|
|
31 |
const TInt LLocaleData::CurrencyDecimalPlaces = 2;
|
|
32 |
const TLocale::TNegativeCurrencyFormat LLocaleData::NegativeCurrencyFormat=TLocale::TNegativeCurrencyFormat(0); // replacing CurrencyNegativeInBrackets
|
|
33 |
const TBool LLocaleData::CurrencyTriadsAllowed = ETrue;
|
|
34 |
const TText * const LLocaleData::ThousandsSeparator = _S(",");
|
|
35 |
const TText * const LLocaleData::DecimalSeparator = _S(".");
|
|
36 |
const TText * const LLocaleData::DateSeparator[KMaxDateSeparators] = {_S(""),_S("/"),_S("/"),_S("")};
|
|
37 |
const TText * const LLocaleData::TimeSeparator[KMaxTimeSeparators] = {_S(""),_S(":"),_S(":"),_S("")};
|
|
38 |
const TLocalePos LLocaleData::AmPmSymbolPosition = ELocaleAfter;
|
|
39 |
const TBool LLocaleData::AmPmSpaceBetween = ETrue;
|
|
40 |
//const TUint LLocaleData::DaylightSaving = EDstNone;
|
|
41 |
const TDaylightSavingZone LLocaleData::HomeDaylightSavingZone = EDstEuropean;
|
|
42 |
const TUint LLocaleData::WorkDays = 0x1f;
|
|
43 |
const TText * const LLocaleData::CurrencySymbol = _S("$$$");
|
|
44 |
const TText* const LLocaleData::ShortDateFormatSpec = _S("%F%*D/%*M/%Y"); // needs checking by a localisation team (this item was added since real localisation - the value given here has been set by a software developer so it may be wrong)
|
|
45 |
const TText* const LLocaleData::LongDateFormatSpec = _S("%F%*D%X %N %Y"); // needs checking by a localisation team (this item was added since real localisation - the value given here has been set by a software developer so it may be wrong)
|
|
46 |
const TText* const LLocaleData::TimeFormatSpec = _S("%F%*I:%T:%S %*A"); // needs checking by a localisation team (this item was added since real localisation - the value given here has been set by a software developer so it may be wrong)
|
|
47 |
const TFatUtilityFunctions* const LLocaleData::FatUtilityFunctions = NULL;
|
|
48 |
const TDay LLocaleData::StartOfWeek = EMonday;
|
|
49 |
const TClockFormat LLocaleData::ClockFormat = EClockDigital;
|
|
50 |
const TUnitsFormat LLocaleData::UnitsGeneral = EUnitsImperial;
|
|
51 |
const TUnitsFormat LLocaleData::UnitsDistanceShort = EUnitsImperial;
|
|
52 |
const TUnitsFormat LLocaleData::UnitsDistanceLong = EUnitsImperial;
|
|
53 |
const TUint LLocaleData::ExtraNegativeCurrencyFormatFlags = 0;
|
|
54 |
const TLanguage LLocaleData::LanguageDowngrade[3] = {ELangSouthAfricanEnglish, ELangCanadianEnglish, ELangSwissFrench};
|
|
55 |
const TDigitType LLocaleData::DigitType = EDigitTypeWestern;
|
|
56 |
|