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