kerneltest/f32test/locl/localeutils/t_tls_cyuk.cpp
branchanywhere
changeset 41 d32f34975bbf
parent 40 04a1b74efd48
parent 37 a9bf1d2c555e
child 48 10816385149a
equal deleted inserted replaced
40:04a1b74efd48 41:d32f34975bbf
     1 // Copyright (c) 2007-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 "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Default locale settings for the UK
       
    15 // This UK locale dll is created only for the purpose of instantiating FatUtilityFunctions
       
    16 // 
       
    17 //
       
    18 
       
    19 #include <kernel/localise.h>
       
    20 #include "complocl.h"
       
    21 #include "unicodeconv.h"
       
    22 
       
    23 const TFatUtilityFunctions myFatUtilityFunctions=
       
    24 	{
       
    25 	UnicodeConv::ConvertFromUnicodeL,
       
    26 	UnicodeConv::ConvertToUnicodeL,
       
    27 	UnicodeConv::IsLegalShortNameCharacter
       
    28 	};
       
    29 
       
    30 // The configuration data
       
    31 const TLanguage LLocaleData::Language = ELangEnglish;
       
    32 const TInt LLocaleData::CountryCode = 45;
       
    33 const TInt LLocaleData::UniversalTimeOffset = 0;
       
    34 const TDateFormat LLocaleData::DateFormat = EDateEuropean;
       
    35 const TTimeFormat LLocaleData::TimeFormat = ETime12;
       
    36 const TLocalePos LLocaleData::CurrencySymbolPosition = ELocaleBefore;
       
    37 const TBool LLocaleData::CurrencySpaceBetween = EFalse;
       
    38 const TInt LLocaleData::CurrencyDecimalPlaces = 2; 
       
    39 const TLocale::TNegativeCurrencyFormat LLocaleData::NegativeCurrencyFormat=TLocale::TNegativeCurrencyFormat(0); // replacing CurrencyNegativeInBrackets
       
    40 const TBool LLocaleData::CurrencyTriadsAllowed = ETrue;
       
    41 const TText * const LLocaleData::ThousandsSeparator = _S(",");
       
    42 const TText * const LLocaleData::DecimalSeparator = _S(".");
       
    43 const TText * const LLocaleData::DateSeparator[KMaxDateSeparators] = {_S(""),_S("/"),_S("/"),_S("")};
       
    44 const TText * const LLocaleData::TimeSeparator[KMaxTimeSeparators] = {_S(""),_S(":"),_S(":"),_S("")};
       
    45 const TLocalePos LLocaleData::AmPmSymbolPosition = ELocaleAfter;
       
    46 const TBool LLocaleData::AmPmSpaceBetween = ETrue;
       
    47 //const TUint LLocaleData::DaylightSaving = EDstNone;
       
    48 const TDaylightSavingZone LLocaleData::HomeDaylightSavingZone = EDstEuropean;
       
    49 const TUint LLocaleData::WorkDays = 0x1f;
       
    50 const TText * const LLocaleData::CurrencySymbol = _S("\x00a3");
       
    51 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)
       
    52 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)
       
    53 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)
       
    54 
       
    55 const TFatUtilityFunctions* const LLocaleData::FatUtilityFunctions = &myFatUtilityFunctions;
       
    56 
       
    57 const TDay LLocaleData::StartOfWeek = EMonday;
       
    58 const TClockFormat LLocaleData::ClockFormat = EClockAnalog;
       
    59 const TUnitsFormat LLocaleData::UnitsGeneral = EUnitsImperial;
       
    60 const TUnitsFormat LLocaleData::UnitsDistanceShort = EUnitsImperial;
       
    61 const TUnitsFormat LLocaleData::UnitsDistanceLong = EUnitsImperial;
       
    62 const TUint LLocaleData::ExtraNegativeCurrencyFormatFlags = 0;
       
    63 const TLanguage LLocaleData::LanguageDowngrade[3] = {ELangNone, ELangNone, ELangNone};
       
    64 const TDigitType LLocaleData::DigitType = EDigitTypeWestern;
       
    65