os/kernelhwsrv/kernel/eka/euser/us_loc.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 // Copyright (c) 1994-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 "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // e32\euser\us_loc.cpp
    15 // 
    16 //
    17 
    18 #include "us_std.h"
    19 
    20 EXPORT_C TDayName::TDayName()
    21 /**
    22 Default constructor.
    23 
    24 It constructs this object and initialises it with the current locale's text for 
    25 Monday.
    26 */
    27 	{
    28 
    29 	Set(EMonday);
    30 	}
    31 
    32 
    33 
    34 
    35 EXPORT_C TDayName::TDayName(TDay aDay)
    36 /**
    37 Constructs this object and initialises it with the current locale's text for 
    38 the specified day of the week.
    39 
    40 @param aDay Identifies the day of the week.
    41 */
    42 	{
    43 
    44 	Set(aDay);
    45 	}
    46 
    47 
    48 
    49 
    50 EXPORT_C TDayNameAbb::TDayNameAbb()
    51 /**
    52 Default constructor.
    53 
    54 It constructs this object and initialises it with the current locale's
    55 abbreviated text for Monday.
    56 */
    57 	{
    58 
    59 	Set(EMonday);
    60 	}
    61 
    62 
    63 
    64 
    65 EXPORT_C TDayNameAbb::TDayNameAbb(TDay aDay)
    66 /**
    67 Constructs this object and initialises it with the current locale's abbreviated 
    68 text for the specified day of the week.
    69 
    70 @param aDay An enumerator identifying the day of the week.
    71 */
    72 	{
    73 
    74 	Set(aDay);
    75 	}
    76 
    77 
    78 
    79 
    80 EXPORT_C TMonthName::TMonthName()
    81 /**
    82 Default constructor.
    83 
    84 Constructs the object and initialises it with the current locale's text for 
    85 January.
    86 */
    87 	{
    88 
    89 	Set(EJanuary);
    90 	}
    91 
    92 
    93 
    94 
    95 EXPORT_C TMonthName::TMonthName(TMonth aMonth)
    96 /**
    97 Constructs this object and initialises it with the current locale's text for 
    98 the specified month.
    99 
   100 @param aMonth Identifies the month.
   101 */
   102 	{
   103 
   104 	Set(aMonth);
   105 	}
   106 
   107 
   108 
   109 
   110 EXPORT_C TMonthNameAbb::TMonthNameAbb()
   111 /**
   112 Default constructor.
   113 
   114 It constructs this object and initialises it with the current locale's abbreviated 
   115 text for January.
   116 */
   117 	{
   118 
   119 	Set(EJanuary);
   120 	}
   121 
   122 
   123 
   124 
   125 EXPORT_C TMonthNameAbb::TMonthNameAbb(TMonth aMonth)
   126 /**
   127 Constructs this object and initialises it with the current locale's abbreviated 
   128 text for the specified month.
   129 
   130 @param aMonth Identifies the month.
   131 */
   132 	{
   133 
   134 	Set(aMonth);
   135 	}
   136 
   137 
   138 
   139 
   140 EXPORT_C TDateSuffix::TDateSuffix()
   141 /**
   142 Default constructor.
   143 
   144 It constructs this object and initialises it with the current locale's date
   145 suffix text for the first day of the month.
   146 */
   147 	{
   148 
   149 	Set(0);
   150 	}
   151 
   152 
   153 
   154 
   155 EXPORT_C TDateSuffix::TDateSuffix(TInt aDateSuffix)
   156 /**
   157 Constructs this object and initialises it with the current locale's date suffix 
   158 text for the specified day of the month.
   159 
   160 @param aDateSuffix A value identifying the day of the month. The value can 
   161                    range from 0 to 30 so that the first day of the month is
   162                    identified by 0, the second day by 1 etc.
   163                    
   164 @panic USER 69, if aDateSuffix is outside the range 0 to 30.
   165 */
   166 	{
   167 
   168 	Set(aDateSuffix);
   169 	}
   170 
   171 
   172 
   173 
   174 EXPORT_C TAmPmName::TAmPmName()
   175 /**
   176 Default constructor.
   177 
   178 It constructs this object and initialises it with the current locale's text for 
   179 identifying time before noon.
   180 */
   181 	{
   182 
   183 	Set(EAm);
   184 	}
   185 
   186 
   187 
   188 
   189 EXPORT_C TAmPmName::TAmPmName(TAmPm aSelector)
   190 /**
   191 Constructs this object and initialises it with the current locale's text for 
   192 identifying time before or after noon as identified by the specified selector.
   193 
   194 @param aSelector The am/pm selector.
   195 */
   196 	{
   197 
   198 	Set(aSelector);
   199 	}
   200 
   201 
   202 
   203 
   204 EXPORT_C TCurrencySymbol::TCurrencySymbol()
   205 /**
   206 Default constructor.
   207 
   208 It constructs this object and initialises it with the current locale's currency 
   209 symbol(s).
   210 */
   211 	{
   212 
   213 	Set();
   214 	}
   215 
   216 
   217 
   218 
   219 EXPORT_C TShortDateFormatSpec::TShortDateFormatSpec()
   220 /**
   221 Default constructor.
   222 
   223 Performs construction by calling Set().
   224 
   225 @see TShortDateFormatSpec::Set
   226 */
   227 	{
   228 
   229 	Set();
   230 	}
   231 
   232 
   233 
   234 
   235 EXPORT_C TLongDateFormatSpec::TLongDateFormatSpec()
   236 /**
   237 Default constructor.
   238 
   239 Performs construction by calling Set().
   240 
   241 @see TLongDateFormatSpec::Set
   242 */
   243 	{
   244 
   245 	Set();
   246 	}
   247 
   248 
   249 
   250 
   251 EXPORT_C TTimeFormatSpec::TTimeFormatSpec()
   252 /**
   253 Default constructor.
   254 
   255 Performs construction by calling Set().
   256 
   257 @see TTimeFormatSpec::Set
   258 */
   259 	{
   260 
   261 	Set();
   262 	}
   263 
   264 
   265 
   266 
   267 EXPORT_C TLocaleMessageText::TLocaleMessageText()
   268 //
   269 // Default Constructor
   270 //
   271 	{}
   272 
   273 
   274 
   275 
   276 EXPORT_C TLocaleMessageText::TLocaleMessageText(TLocaleMessage aMsgNo)
   277 //
   278 // Constructor
   279 //
   280 	{
   281 
   282 	Set(aMsgNo);
   283 	}
   284 
   285