107
|
1 |
/*
|
|
2 |
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: Day & Month names, abbreviations and datesuffix table + am/pm
|
|
15 |
* symbols for Japanese language
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
// EXTERNAL RESOURCES
|
|
23 |
|
|
24 |
|
|
25 |
// Include Files
|
|
26 |
|
|
27 |
#include <kernel/ls_std.h>
|
|
28 |
|
|
29 |
// LOCAL CONSTANTS AND MACROS
|
|
30 |
const TText hi[]={0x65e5,0};
|
|
31 |
const TText getsuyoubi[]={0x6708,0x66dc,0x65e5,0};
|
|
32 |
const TText kayoubi[]={0x706b,0x66dc,0x65e5,0};
|
|
33 |
const TText suiyoubi[]={0x6c34,0x66dc,0x65e5,0};
|
|
34 |
const TText mokuyoubi[]={0x6728,0x66dc,0x65e5,0};
|
|
35 |
const TText kinyoubi[]={0x91d1,0x66dc,0x65e5,0};
|
|
36 |
const TText doyoubi[]={0x571f,0x66dc,0x65e5,0};
|
|
37 |
const TText nichiyoubi[]={0x65e5,0x66dc,0x65e5,0};
|
|
38 |
const TText getsu[]={0x6708,0};
|
|
39 |
const TText ka[]={0x706b,0};
|
|
40 |
const TText sui[]={0x6c34,0};
|
|
41 |
const TText moku[]={0x6728,0};
|
|
42 |
const TText kin[]={0x91d1,0};
|
|
43 |
const TText dou[]={0x571f,0};
|
|
44 |
const TText nichi[]={0x65e5,0};
|
|
45 |
const TText ichigatsu[]={0xff11,0};
|
|
46 |
const TText nigatsu[]={0xff12,0};
|
|
47 |
const TText sangatsu[]={0xff13,0};
|
|
48 |
const TText shigatsu[]={0xff14,0};
|
|
49 |
const TText gogatsu[]={0xff15,0};
|
|
50 |
const TText rokugatsu[]={0xff16,0};
|
|
51 |
const TText shichigatsu[]={0xff17,0};
|
|
52 |
const TText hachigatsu[]={0xff18,0};
|
|
53 |
const TText kugatsu[]={0xff19,0};
|
|
54 |
const TText jyugatsu[]={0x0031,0x0030,0};
|
|
55 |
const TText jyuichigatsu[]={0x0031,0x0031,0};
|
|
56 |
const TText jyunigatsu[]={0x0031,0x0032,0};
|
|
57 |
const TText a_ichigatsu[]={0x0031,0};
|
|
58 |
const TText a_nigatsu[]={0x0032,0};
|
|
59 |
const TText a_sangatsu[]={0x0033,0};
|
|
60 |
const TText a_shigatsu[]={0x0034,0};
|
|
61 |
const TText a_gogatsu[]={0x0035,0};
|
|
62 |
const TText a_rokugatsu[]={0x0036,0};
|
|
63 |
const TText a_shichigatsu[]={0x0037,0};
|
|
64 |
const TText a_hachigatsu[]={0x0038,0};
|
|
65 |
const TText a_kugatsu[]={0x0039,0};
|
|
66 |
const TText a_jyugatsu[]={0x0031,0x0030,0};
|
|
67 |
const TText a_jyuichigatsu[]={0x0031,0x0031,0};
|
|
68 |
const TText a_jyunigatsu[]={0x0031,0x0032,0};
|
|
69 |
|
|
70 |
|
|
71 |
// The suffix table
|
|
72 |
const TText * const LLanguage::DateSuffixTable[KMaxSuffixes] =
|
|
73 |
{
|
|
74 |
hi,hi,hi,hi,hi,
|
|
75 |
hi,hi,hi,hi,hi,
|
|
76 |
hi,hi,hi,hi,hi,
|
|
77 |
hi,hi,hi,hi,hi,
|
|
78 |
hi,hi,hi,hi,hi,
|
|
79 |
hi,hi,hi,hi,hi,
|
|
80 |
hi
|
|
81 |
};
|
|
82 |
// The day names
|
|
83 |
const TText * const LLanguage::DayTable[KMaxDays] =
|
|
84 |
{
|
|
85 |
getsuyoubi,
|
|
86 |
kayoubi,
|
|
87 |
suiyoubi,
|
|
88 |
mokuyoubi,
|
|
89 |
kinyoubi,
|
|
90 |
doyoubi,
|
|
91 |
nichiyoubi
|
|
92 |
};
|
|
93 |
// The abbreviated day names
|
|
94 |
const TText * const LLanguage::DayAbbTable[KMaxDays] =
|
|
95 |
{
|
|
96 |
getsu,
|
|
97 |
ka,
|
|
98 |
sui,
|
|
99 |
moku,
|
|
100 |
kin,
|
|
101 |
dou,
|
|
102 |
nichi
|
|
103 |
};
|
|
104 |
// The month names
|
|
105 |
const TText * const LLanguage::MonthTable[KMaxMonths] =
|
|
106 |
{
|
|
107 |
ichigatsu,
|
|
108 |
nigatsu,
|
|
109 |
sangatsu,
|
|
110 |
shigatsu,
|
|
111 |
gogatsu,
|
|
112 |
rokugatsu,
|
|
113 |
shichigatsu,
|
|
114 |
hachigatsu,
|
|
115 |
kugatsu,
|
|
116 |
jyugatsu,
|
|
117 |
jyuichigatsu,
|
|
118 |
jyunigatsu
|
|
119 |
};
|
|
120 |
// The abbreviated month names
|
|
121 |
const TText * const LLanguage::MonthAbbTable[KMaxMonths] =
|
|
122 |
{
|
|
123 |
a_ichigatsu,
|
|
124 |
a_nigatsu,
|
|
125 |
a_sangatsu,
|
|
126 |
a_shigatsu,
|
|
127 |
a_gogatsu,
|
|
128 |
a_rokugatsu,
|
|
129 |
a_shichigatsu,
|
|
130 |
a_hachigatsu,
|
|
131 |
a_kugatsu,
|
|
132 |
a_jyugatsu,
|
|
133 |
a_jyuichigatsu,
|
|
134 |
a_jyunigatsu
|
|
135 |
};
|
|
136 |
// The am/pm strings
|
|
137 |
const TText * const LLanguage::AmPmTable[KMaxAmPms] = {_S("AM"),_S("PM")};
|
|
138 |
|
|
139 |
|
|
140 |
// End of File
|