Symbian3/PDK/Source/GUID-9815224A-DDD6-5229-B0A4-117315438BD6.dita
changeset 1 25a17d01db0c
child 3 46218c8b8afa
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept id="GUID-9815224A-DDD6-5229-B0A4-117315438BD6" xml:lang="en"><title>Units
       
    13 of measurement</title><shortdesc>In some locales, long and short distances may be expressed using
       
    14 different systems of measurement. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
       
    15 <p>In Britain for example, imperial units are commonly used for long distances
       
    16 and metric units for shorter distances. The <xref href="GUID-53299759-C2DD-3ABC-A055-9AFE7C5081C6.dita"><apiname>TLocale</apiname></xref> class
       
    17 provides for this possibility by allowing the units of measurement, for long
       
    18 (miles or kilometers) and short (meters/centimeters or feet/inches) distances
       
    19 to be set independently.</p>
       
    20 <p>For example, when setting the units of measurement in a locale where only
       
    21 metric units are ever used, use <codeph>SetUnitsGeneral(EUnitsMetric)</codeph>.
       
    22 In the UK, on the other hand, where short distances are often measured using
       
    23 meters and centimetres, and long distances in miles, you may instead use <codeph>SetUnitsDistanceShort(EUnitsMetric)</codeph>,
       
    24 and <codeph>SetUnitsDistanceLong(EUnitsImperial)</codeph>.</p>
       
    25 </conbody></concept>