1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/textandloc/localisation/localesupport/src/ls_cytest.cpp Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,58 @@
1.4 +/*
1.5 +* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +* LS_TEST.CPP
1.19 +* Test Locale for Testing
1.20 +*
1.21 +*/
1.22 +
1.23 +
1.24 +#include <ls_std.h>
1.25 +#include "complocl.h"
1.26 +
1.27 +
1.28 +// The configuration data
1.29 +const TLanguage LLocaleData::Language = ELangReserved2 ;
1.30 +const TInt LLocaleData::CountryCode = 44;
1.31 +const TInt LLocaleData::UniversalTimeOffset = 0;
1.32 +const TDateFormat LLocaleData::DateFormat = EDateEuropean;
1.33 +const TTimeFormat LLocaleData::TimeFormat = ETime12;
1.34 +const TLocalePos LLocaleData::CurrencySymbolPosition = ELocaleBefore;
1.35 +const TBool LLocaleData::CurrencySpaceBetween = EFalse;
1.36 +const TInt LLocaleData::CurrencyDecimalPlaces = 2;
1.37 +const TLocale::TNegativeCurrencyFormat LLocaleData::NegativeCurrencyFormat=TLocale::TNegativeCurrencyFormat(0); // replacing CurrencyNegativeInBrackets
1.38 +const TBool LLocaleData::CurrencyTriadsAllowed = ETrue;
1.39 +const TText * const LLocaleData::ThousandsSeparator = _S(",");
1.40 +const TText * const LLocaleData::DecimalSeparator = _S(".");
1.41 +const TText * const LLocaleData::DateSeparator[KMaxDateSeparators] = {_S(""),_S("/"),_S("/"),_S("")};
1.42 +const TText * const LLocaleData::TimeSeparator[KMaxTimeSeparators] = {_S(""),_S(":"),_S(":"),_S("")};
1.43 +const TLocalePos LLocaleData::AmPmSymbolPosition = ELocaleAfter;
1.44 +const TBool LLocaleData::AmPmSpaceBetween = ETrue;
1.45 +//const TUint LLocaleData::DaylightSaving = EDstNone;
1.46 +const TDaylightSavingZone LLocaleData::HomeDaylightSavingZone = EDstEuropean;
1.47 +const TUint LLocaleData::WorkDays = 0x1f;
1.48 +const TText * const LLocaleData::CurrencySymbol = _S("$$$");
1.49 +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)
1.50 +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)
1.51 +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)
1.52 +const TFatUtilityFunctions* const LLocaleData::FatUtilityFunctions = NULL;
1.53 +const TDay LLocaleData::StartOfWeek = EMonday;
1.54 +const TClockFormat LLocaleData::ClockFormat = EClockDigital;
1.55 +const TUnitsFormat LLocaleData::UnitsGeneral = EUnitsImperial;
1.56 +const TUnitsFormat LLocaleData::UnitsDistanceShort = EUnitsImperial;
1.57 +const TUnitsFormat LLocaleData::UnitsDistanceLong = EUnitsImperial;
1.58 +const TUint LLocaleData::ExtraNegativeCurrencyFormatFlags = 0;
1.59 +const TLanguage LLocaleData::LanguageDowngrade[3] = {ELangSouthAfricanEnglish, ELangCanadianEnglish, ELangSwissFrench};
1.60 +const TDigitType LLocaleData::DigitType = EDigitTypeWestern;
1.61 +