< prev index next >

src/share/classes/sun/text/resources/FormatData_ja.java

Print this page
rev 8819 : 8202088: Japanese new era implementation
8207152: Placeholder for Japanese new era should be two characters
8206120: Add test cases for lenient Japanese era parsing
Reviewed-by: coffeys, naoto
Contributed-by: deepak.kejriwal@oracle.com
   1 /*
   2  * Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


 112             },
 113             { "Eras",
 114                 new String[] { // era strings for GregorianCalendar
 115                     "\u7d00\u5143\u524d",
 116                     "\u897f\u66a6"
 117                 }
 118             },
 119             { "sun.util.BuddhistCalendar.Eras",
 120                 new String[] { // era strings for Thai Buddhist calendar
 121                     "\u7d00\u5143\u524d", // Kigenzen
 122                     "\u4ecf\u66a6",       // Butsureki
 123                 }
 124             },
 125             { "java.util.JapaneseImperialCalendar.Eras",
 126                 new String[] { // era strings for Japanese imperial calendar
 127                     "\u897f\u66a6",     // Seireki (Gregorian)
 128                     "\u660e\u6cbb",     // Meiji
 129                     "\u5927\u6b63",     // Taisho
 130                     "\u662d\u548c",     // Showa
 131                     "\u5e73\u6210",     // Heisei

 132                 }
 133             },
 134             { "java.util.JapaneseImperialCalendar.FirstYear",
 135                 new String[] {  // first year name
 136                     "\u5143",   // "Gan"-nen
 137                 }
 138             },
 139             { "NumberElements",
 140                 new String[] {
 141                     ".",        // decimal separator
 142                     ",",        // group (thousands) separator
 143                     ";",        // list separator
 144                     "%",        // percent sign
 145                     "0",        // native 0 digit
 146                     "#",        // pattern digit
 147                     "-",        // minus sign
 148                     "E",        // exponential
 149                     "\u2030",   // per mille
 150                     "\u221e",   // infinity
 151                     "\ufffd"    // NaN


   1 /*
   2  * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


 112             },
 113             { "Eras",
 114                 new String[] { // era strings for GregorianCalendar
 115                     "\u7d00\u5143\u524d",
 116                     "\u897f\u66a6"
 117                 }
 118             },
 119             { "sun.util.BuddhistCalendar.Eras",
 120                 new String[] { // era strings for Thai Buddhist calendar
 121                     "\u7d00\u5143\u524d", // Kigenzen
 122                     "\u4ecf\u66a6",       // Butsureki
 123                 }
 124             },
 125             { "java.util.JapaneseImperialCalendar.Eras",
 126                 new String[] { // era strings for Japanese imperial calendar
 127                     "\u897f\u66a6",     // Seireki (Gregorian)
 128                     "\u660e\u6cbb",     // Meiji
 129                     "\u5927\u6b63",     // Taisho
 130                     "\u662d\u548c",     // Showa
 131                     "\u5e73\u6210",     // Heisei
 132                     "\u5143\u53f7",     // NewEra
 133                 }
 134             },
 135             { "java.util.JapaneseImperialCalendar.FirstYear",
 136                 new String[] {  // first year name
 137                     "\u5143",   // "Gan"-nen
 138                 }
 139             },
 140             { "NumberElements",
 141                 new String[] {
 142                     ".",        // decimal separator
 143                     ",",        // group (thousands) separator
 144                     ";",        // list separator
 145                     "%",        // percent sign
 146                     "0",        // native 0 digit
 147                     "#",        // pattern digit
 148                     "-",        // minus sign
 149                     "E",        // exponential
 150                     "\u2030",   // per mille
 151                     "\u221e",   // infinity
 152                     "\ufffd"    // NaN


< prev index next >