< prev index next >

src/jdk.localedata/share/classes/sun/text/resources/ext/FormatData_zh_TW.java

Print this page
rev 55480 : 8227127: Era designator not displayed correctly using the COMPAT provider
Reviewed-by:
   1 /*
   2  * Copyright (c) 1996, 2013, 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


  71  * Except as contained in this notice, the name of a copyright holder shall not
  72  * be used in advertising or otherwise to promote the sale, use or other
  73  * dealings in these Data Files or Software without prior written authorization
  74  * of the copyright holder.
  75  */
  76 
  77 package sun.text.resources.ext;
  78 
  79 import sun.util.resources.ParallelListResourceBundle;
  80 
  81 public class FormatData_zh_TW extends ParallelListResourceBundle {
  82     /**
  83      * Overrides ParallelListResourceBundle
  84      */
  85     @Override
  86     protected final Object[][] getContents() {
  87         final String[] rocEras = {
  88             "\u6c11\u570b\u524d",
  89             "\u6c11\u570b",
  90         };
  91         return new Object[][] {
  92             { "Eras",
  93                 new String[] { // era strings
  94                     "\u897f\u5143\u524d",
  95                     "\u897f\u5143"
  96                 }
  97             },


  98             { "standalone.MonthAbbreviations",
  99                 new String[] {
 100                     "1\u6708",
 101                     "2\u6708",
 102                     "3\u6708",
 103                     "4\u6708",
 104                     "5\u6708",
 105                     "6\u6708",
 106                     "7\u6708",
 107                     "8\u6708",
 108                     "9\u6708",
 109                     "10\u6708",
 110                     "11\u6708",
 111                     "12\u6708",
 112                     "",
 113                 }
 114             },
 115             { "MonthNarrows",
 116                 new String[] {
 117                     "1",


   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


  71  * Except as contained in this notice, the name of a copyright holder shall not
  72  * be used in advertising or otherwise to promote the sale, use or other
  73  * dealings in these Data Files or Software without prior written authorization
  74  * of the copyright holder.
  75  */
  76 
  77 package sun.text.resources.ext;
  78 
  79 import sun.util.resources.ParallelListResourceBundle;
  80 
  81 public class FormatData_zh_TW extends ParallelListResourceBundle {
  82     /**
  83      * Overrides ParallelListResourceBundle
  84      */
  85     @Override
  86     protected final Object[][] getContents() {
  87         final String[] rocEras = {
  88             "\u6c11\u570b\u524d",
  89             "\u6c11\u570b",
  90         };
  91         final String[] gregoryEras = {


  92             "\u897f\u5143\u524d",
  93             "\u897f\u5143",
  94         };
  95         return new Object[][] {
  96             { "Eras", gregoryEras },
  97             { "short.Eras", gregoryEras },
  98             { "standalone.MonthAbbreviations",
  99                 new String[] {
 100                     "1\u6708",
 101                     "2\u6708",
 102                     "3\u6708",
 103                     "4\u6708",
 104                     "5\u6708",
 105                     "6\u6708",
 106                     "7\u6708",
 107                     "8\u6708",
 108                     "9\u6708",
 109                     "10\u6708",
 110                     "11\u6708",
 111                     "12\u6708",
 112                     "",
 113                 }
 114             },
 115             { "MonthNarrows",
 116                 new String[] {
 117                     "1",


< prev index next >