os/kernelhwsrv/kerneltest/e32test/locl/t_cyus.cpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/kernelhwsrv/kerneltest/e32test/locl/t_cyus.cpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,51 @@
     1.4 +// Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 +// All rights reserved.
     1.6 +// This component and the accompanying materials are made available
     1.7 +// under the terms of the License "Eclipse Public License v1.0"
     1.8 +// which accompanies this distribution, and is available
     1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.10 +//
    1.11 +// Initial Contributors:
    1.12 +// Nokia Corporation - initial contribution.
    1.13 +//
    1.14 +// Contributors:
    1.15 +//
    1.16 +// Description:
    1.17 +// f32test\locl\t_cyus.cpp
    1.18 +// Default locale settings for the US
    1.19 +// 
    1.20 +//
    1.21 +
    1.22 +#include <kernel/localise.h>
    1.23 +
    1.24 +// The configuration data
    1.25 +const TLanguage LCountry::Language = ELangAmerican;
    1.26 +const TInt LCountry::CountryCode = 1;
    1.27 +const TInt LCountry::UniversalTimeOffset = -6;
    1.28 +const TDateFormat LCountry::DateFormat = EDateAmerican;
    1.29 +const TTimeFormat LCountry::TimeFormat = ETime12;
    1.30 +const TLocalePos LCountry::CurrencySymbolPosition = ELocaleBefore;
    1.31 +const TBool LCountry::CurrencySpaceBetween = EFalse;
    1.32 +const TInt LCountry::CurrencyDecimalPlaces = 2;
    1.33 +const TBool LCountry::CurrencyNegativeInBrackets = EFalse;
    1.34 +const TBool LCountry::CurrencyTriadsAllowed = ETrue;
    1.35 +const TText * const LCountry::ThousandsSeparator = _S(",");
    1.36 +const TText * const LCountry::DecimalSeparator = _S(".");
    1.37 +const TText * const LCountry::DateSeparator[KMaxDateSeparators] = {_S(""),_S("/"),_S("/"),_S("")};
    1.38 +const TText * const LCountry::TimeSeparator[KMaxTimeSeparators] = {_S(""),_S(":"),_S(":"),_S("")};
    1.39 +const TLocalePos LCountry::AmPmSymbolPosition = ELocaleAfter;
    1.40 +const TBool LCountry::AmPmSpaceBetween = ETrue;
    1.41 +//const TUint LCountry::DaylightSaving = EDstNone;
    1.42 +const TDaylightSavingZone LCountry::HomeDaylightSavingZone = EDstNorthern;
    1.43 +const TUint LCountry::WorkDays = 0x1f;
    1.44 +const TText * const LCountry::CurrencySymbol = _S("$");
    1.45 +const TText* const LCountry::ShortDateFormatSpec = _S("%F%*M/%*D/%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.46 +const TText* const LCountry::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.47 +const TText* const LCountry::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.48 +const TFatUtilityFunctions* const LCountry::FatUtilityFunctions = NULL;
    1.49 +const TDay LCountry::StartOfWeek = ESunday;
    1.50 +const TClockFormat LCountry::ClockFormat = EClockAnalog;
    1.51 +const TUnitsFormat LCountry::UnitsGeneral = EUnitsImperial;
    1.52 +const TUnitsFormat LCountry::UnitsDistanceShort = EUnitsImperial;
    1.53 +const TUnitsFormat LCountry::UnitsDistanceLong = EUnitsImperial;
    1.54 +