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