os/textandloc/localisation/localesupport/src/ls_cytest.cpp
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2001-2009 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: 
    15 * LS_TEST.CPP
    16 * Test Locale for Testing 
    17 *
    18 */
    19 
    20 
    21 #include <ls_std.h>
    22 #include "complocl.h"
    23 
    24 
    25 // The configuration data
    26 const TLanguage LLocaleData::Language = ELangReserved2 ;
    27 const TInt LLocaleData::CountryCode = 44;
    28 const TInt LLocaleData::UniversalTimeOffset = 0;
    29 const TDateFormat LLocaleData::DateFormat = EDateEuropean;
    30 const TTimeFormat LLocaleData::TimeFormat = ETime12;
    31 const TLocalePos LLocaleData::CurrencySymbolPosition = ELocaleBefore;
    32 const TBool LLocaleData::CurrencySpaceBetween = EFalse;
    33 const TInt LLocaleData::CurrencyDecimalPlaces = 2; 
    34 const TLocale::TNegativeCurrencyFormat LLocaleData::NegativeCurrencyFormat=TLocale::TNegativeCurrencyFormat(0); // replacing CurrencyNegativeInBrackets
    35 const TBool LLocaleData::CurrencyTriadsAllowed = ETrue;
    36 const TText * const LLocaleData::ThousandsSeparator = _S(",");
    37 const TText * const LLocaleData::DecimalSeparator = _S(".");
    38 const TText * const LLocaleData::DateSeparator[KMaxDateSeparators] = {_S(""),_S("/"),_S("/"),_S("")};
    39 const TText * const LLocaleData::TimeSeparator[KMaxTimeSeparators] = {_S(""),_S(":"),_S(":"),_S("")};
    40 const TLocalePos LLocaleData::AmPmSymbolPosition = ELocaleAfter;
    41 const TBool LLocaleData::AmPmSpaceBetween = ETrue;
    42 //const TUint LLocaleData::DaylightSaving = EDstNone;
    43 const TDaylightSavingZone LLocaleData::HomeDaylightSavingZone = EDstEuropean;
    44 const TUint LLocaleData::WorkDays = 0x1f;
    45 const TText * const LLocaleData::CurrencySymbol = _S("$$$");
    46 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)
    47 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)
    48 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)
    49 const TFatUtilityFunctions* const LLocaleData::FatUtilityFunctions = NULL;
    50 const TDay LLocaleData::StartOfWeek = EMonday;
    51 const TClockFormat LLocaleData::ClockFormat = EClockDigital;
    52 const TUnitsFormat LLocaleData::UnitsGeneral = EUnitsImperial;
    53 const TUnitsFormat LLocaleData::UnitsDistanceShort = EUnitsImperial;
    54 const TUnitsFormat LLocaleData::UnitsDistanceLong = EUnitsImperial;
    55 const TUint LLocaleData::ExtraNegativeCurrencyFormatFlags = 0;
    56 const TLanguage LLocaleData::LanguageDowngrade[3] = {ELangSouthAfricanEnglish, ELangCanadianEnglish, ELangSwissFrench};
    57 const TDigitType LLocaleData::DigitType = EDigitTypeWestern;
    58