--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/PDK/Source/GUID-5C503AA6-FF44-5183-92D1-C06A141CDB38.dita Fri Jan 22 18:26:19 2010 +0000
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
+<!-- This component and the accompanying materials are made available under the terms of the License
+"Eclipse Public License v1.0" which accompanies this distribution,
+and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
+<!-- Initial Contributors:
+ Nokia Corporation - initial contribution.
+Contributors:
+-->
+<!DOCTYPE concept
+ PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
+<concept id="GUID-5C503AA6-FF44-5183-92D1-C06A141CDB38" xml:lang="en"><title>How
+to set the locale</title><shortdesc>Use <apiname>TLocale::Set()</apiname> to set the system-wide locale
+settings.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
+<p/>
+<p>All applications subsequently using locale information will honour these
+settings. Note that most applications do not need to change the locale settings,
+they merely honour them. In this case, <codeph>Refresh()</codeph> should be
+used to refresh the contents of a <codeph>TLocale</codeph> object with the
+system's locale settings.</p>
+<p>To change the system locale and some of its locale-dependent date and time
+settings, implement code as follows:</p>
+<codeblock id="GUID-7648B92D-B13F-5B88-89ED-9907A3AA462F" xml:space="preserve">...
+ // Get current system locale information
+TLocale locale;
+ // Change date separators 1 and 2 to hyphens; date separators 0 and 3
+ // remain null characters
+locale.SetDateSeparator('-',1);
+locale.SetDateSeparator('-',2);
+
+ // set the locale to Southern hemisphere with
+ // a +10 hour time offset
+locale.SetUniversalTimeOffset(36000);
+locale.SetHomeDaylightSavingZone(EDstSouthern);
+
+ // Set daylight saving on for the southern hemisphere
+locale.SetDaylightSaving(EDstSouthern);
+
+ // set system locale settings
+locale.Set();
+....</codeblock>
+</conbody></concept>
\ No newline at end of file