locales/loce32/src/ls_lnjapan.cpp
changeset 0 05e9090e2422
child 21 4ab28fdd25ad
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     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 const TText gozen[]={0x5348,0x524d,0};
       
    70 const TText gogo[]={0x5348,0x5f8c,0};
       
    71 
       
    72 // The suffix table
       
    73 const TText * const LLanguage::DateSuffixTable[KMaxSuffixes] =
       
    74     {
       
    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,hi,hi,hi,hi,
       
    81     hi
       
    82     };
       
    83 // The day names
       
    84 const TText * const LLanguage::DayTable[KMaxDays] =
       
    85     {
       
    86     getsuyoubi,
       
    87     kayoubi,
       
    88     suiyoubi,
       
    89     mokuyoubi,
       
    90     kinyoubi,
       
    91     doyoubi,
       
    92     nichiyoubi
       
    93     };
       
    94 // The abbreviated day names
       
    95 const TText * const LLanguage::DayAbbTable[KMaxDays] =
       
    96     {
       
    97     getsu,
       
    98     ka,
       
    99     sui,
       
   100     moku,
       
   101     kin,
       
   102     dou,
       
   103     nichi
       
   104     };
       
   105 // The month names
       
   106 const TText * const LLanguage::MonthTable[KMaxMonths] =
       
   107     {
       
   108     ichigatsu,
       
   109     nigatsu,
       
   110     sangatsu,
       
   111     shigatsu,
       
   112     gogatsu,
       
   113     rokugatsu,
       
   114     shichigatsu,
       
   115     hachigatsu,
       
   116     kugatsu,
       
   117     jyugatsu,
       
   118     jyuichigatsu,
       
   119     jyunigatsu
       
   120     };
       
   121 // The abbreviated month names
       
   122 const TText * const LLanguage::MonthAbbTable[KMaxMonths] =
       
   123     {
       
   124     a_ichigatsu,
       
   125     a_nigatsu,
       
   126     a_sangatsu,
       
   127     a_shigatsu,
       
   128     a_gogatsu,
       
   129     a_rokugatsu,
       
   130     a_shichigatsu,
       
   131     a_hachigatsu,
       
   132     a_kugatsu,
       
   133     a_jyugatsu,
       
   134     a_jyuichigatsu,
       
   135     a_jyunigatsu
       
   136     };
       
   137 // The am/pm strings
       
   138 const TText * const LLanguage::AmPmTable[KMaxAmPms] = {_S("AM"),_S("PM")};
       
   139 
       
   140 
       
   141 //  End of File