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
  23  * questions.
  24  */
  25 
  26 /*
  27  * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
  28  * (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved
  29  *
  30  * The original version of this source code and documentation
  31  * is copyrighted and owned by Taligent, Inc., a wholly-owned
  32  * subsidiary of IBM. These materials are provided under terms
  33  * of a License Agreement between Taligent and Sun. This technology
  34  * is protected by multiple US and International patents.
  35  *
  36  * This notice and attribution to Taligent may not be removed.
  37  * Taligent is a registered trademark of Taligent, Inc.
  38  *
  39  */
  40 
  41 /*
  42  * COPYRIGHT AND PERMISSION NOTICE
  43  *
  44  * Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
  45  * the Terms of Use in http://www.unicode.org/copyright.html.
  46  *
  47  * Permission is hereby granted, free of charge, to any person obtaining a copy
  48  * of the Unicode data files and any associated documentation (the "Data
  49  * Files") or Unicode software and any associated documentation (the
  50  * "Software") to deal in the Data Files or Software without restriction,
  51  * including without limitation the rights to use, copy, modify, merge,
  52  * publish, distribute, and/or sell copies of the Data Files or Software, and
  53  * to permit persons to whom the Data Files or Software are furnished to do so,
  54  * provided that (a) the above copyright notice(s) and this permission notice
  55  * appear with all copies of the Data Files or Software, (b) both the above
  56  * copyright notice(s) and this permission notice appear in associated
  57  * documentation, and (c) there is clear notice in each modified Data File or
  58  * in the Software as well as in the documentation associated with the Data
  59  * File(s) or Software that the data or software has been modified.
  60  *
  61  * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
  62  * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  63  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
  64  * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
  65  * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
  66  * CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  67  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  68  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  69  * OF THE DATA FILES OR SOFTWARE.
  70  *
  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 extends ParallelListResourceBundle {
  82     /**
  83      * Overrides ParallelListResourceBundle
  84      */
  85     @Override
  86     protected final Object[][] getContents() {
  87         final String[] rocEras = {
  88             "\u6c11\u56fd\u524d",
  89             "\u6c11\u56fd",
  90         };
  91         return new Object[][] {
  92             { "MonthNames",
  93                 new String[] {
  94                     "\u4e00\u6708", // january
  95                     "\u4e8c\u6708", // february
  96                     "\u4e09\u6708", // march
  97                     "\u56db\u6708", // april
  98                     "\u4e94\u6708", // may
  99                     "\u516d\u6708", // june
 100                     "\u4e03\u6708", // july
 101                     "\u516b\u6708", // august
 102                     "\u4e5d\u6708", // september
 103                     "\u5341\u6708", // october
 104                     "\u5341\u4e00\u6708", // november
 105                     "\u5341\u4e8c\u6708", // december
 106                     "" // month 13 if applicable
 107                 }
 108             },
 109             { "standalone.MonthNames",
 110                 new String[] {
 111                     "\u4e00\u6708",
 112                     "\u4e8c\u6708",
 113                     "\u4e09\u6708",
 114                     "\u56db\u6708",
 115                     "\u4e94\u6708",
 116                     "\u516d\u6708",
 117                     "\u4e03\u6708",
 118                     "\u516b\u6708",
 119                     "\u4e5d\u6708",
 120                     "\u5341\u6708",
 121                     "\u5341\u4e00\u6708",
 122                     "\u5341\u4e8c\u6708",
 123                     "",
 124                 }
 125             },
 126             { "MonthAbbreviations",
 127                 new String[] {
 128                     "\u4e00\u6708", // abb january
 129                     "\u4e8c\u6708", // abb february
 130                     "\u4e09\u6708", // abb march
 131                     "\u56db\u6708", // abb april
 132                     "\u4e94\u6708", // abb may
 133                     "\u516d\u6708", // abb june
 134                     "\u4e03\u6708", // abb july
 135                     "\u516b\u6708", // abb august
 136                     "\u4e5d\u6708", // abb september
 137                     "\u5341\u6708", // abb october
 138                     "\u5341\u4e00\u6708", // abb november
 139                     "\u5341\u4e8c\u6708", // abb december
 140                     "" // abb month 13 if applicable
 141                 }
 142             },
 143             { "standalone.MonthAbbreviations",
 144                 new String[] {
 145                     "\u4e00\u6708",
 146                     "\u4e8c\u6708",
 147                     "\u4e09\u6708",
 148                     "\u56db\u6708",
 149                     "\u4e94\u6708",
 150                     "\u516d\u6708",
 151                     "\u4e03\u6708",
 152                     "\u516b\u6708",
 153                     "\u4e5d\u6708",
 154                     "\u5341\u6708",
 155                     "\u5341\u4e00\u6708",
 156                     "\u5341\u4e8c\u6708",
 157                     "",
 158                 }
 159             },
 160             { "MonthNarrows",
 161                 new String[] {
 162                     "1",
 163                     "2",
 164                     "3",
 165                     "4",
 166                     "5",
 167                     "6",
 168                     "7",
 169                     "8",
 170                     "9",
 171                     "10",
 172                     "11",
 173                     "12",
 174                     "",
 175                 }
 176             },
 177             { "standalone.MonthNarrows",
 178                 new String[] {
 179                     "1\u6708",
 180                     "2\u6708",
 181                     "3\u6708",
 182                     "4\u6708",
 183                     "5\u6708",
 184                     "6\u6708",
 185                     "7\u6708",
 186                     "8\u6708",
 187                     "9\u6708",
 188                     "10\u6708",
 189                     "11\u6708",
 190                     "12\u6708",
 191                     "",
 192                 }
 193             },
 194             { "DayNames",
 195                 new String[] {
 196                     "\u661f\u671f\u65e5", // Sunday
 197                     "\u661f\u671f\u4e00", // Monday
 198                     "\u661f\u671f\u4e8c", // Tuesday
 199                     "\u661f\u671f\u4e09", // Wednesday
 200                     "\u661f\u671f\u56db", // Thursday
 201                     "\u661f\u671f\u4e94", // Friday
 202                     "\u661f\u671f\u516d" // Saturday
 203                 }
 204             },
 205             { "standalone.DayNames",
 206                 new String[] {
 207                     "\u661f\u671f\u65e5",
 208                     "\u661f\u671f\u4e00",
 209                     "\u661f\u671f\u4e8c",
 210                     "\u661f\u671f\u4e09",
 211                     "\u661f\u671f\u56db",
 212                     "\u661f\u671f\u4e94",
 213                     "\u661f\u671f\u516d",
 214                 }
 215             },
 216             { "DayAbbreviations",
 217                 new String[] {
 218                     "\u661f\u671f\u65e5", // abb Sunday
 219                     "\u661f\u671f\u4e00", // abb Monday
 220                     "\u661f\u671f\u4e8c", // abb Tuesday
 221                     "\u661f\u671f\u4e09", // abb Wednesday
 222                     "\u661f\u671f\u56db", // abb Thursday
 223                     "\u661f\u671f\u4e94", // abb Friday
 224                     "\u661f\u671f\u516d" // abb Saturday
 225                 }
 226             },
 227             { "standalone.DayAbbreviations",
 228                 new String[] {
 229                     "\u5468\u65e5",
 230                     "\u5468\u4e00",
 231                     "\u5468\u4e8c",
 232                     "\u5468\u4e09",
 233                     "\u5468\u56db",
 234                     "\u5468\u4e94",
 235                     "\u5468\u516d",
 236                 }
 237             },
 238             { "DayNarrows",
 239                 new String[] {
 240                     "\u65e5",
 241                     "\u4e00",
 242                     "\u4e8c",
 243                     "\u4e09",
 244                     "\u56db",
 245                     "\u4e94",
 246                     "\u516d",
 247                 }
 248             },
 249             { "standalone.DayNarrows",
 250                 new String[] {
 251                     "\u65e5",
 252                     "\u4e00",
 253                     "\u4e8c",
 254                     "\u4e09",
 255                     "\u56db",
 256                     "\u4e94",
 257                     "\u516d",
 258                 }
 259             },
 260             { "AmPmMarkers",
 261                 new String[] {
 262                     "\u4e0a\u5348", // am marker
 263                     "\u4e0b\u5348" // pm marker
 264                 }
 265             },
 266             { "Eras",
 267                 new String[] { // era strings
 268                     "\u516c\u5143\u524d",
 269                     "\u516c\u5143"
 270                 }
 271             },
 272             { "buddhist.Eras",
 273                 new String[] {
 274                     "BC",
 275                     "\u4f5b\u5386",
 276                 }
 277             },
 278             { "japanese.Eras",
 279                 new String[] {
 280                     "\u516c\u5143",
 281                     "\u660e\u6cbb",
 282                     "\u5927\u6b63",
 283                     "\u662d\u548c",
 284                     "\u5e73\u6210",
 285                     "\u4ee4\u548c",
 286                 }
 287             },
 288             { "TimePatterns",
 289                 new String[] {
 290                     "ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern
 291                     "ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern
 292                     "H:mm:ss", // medium time pattern
 293                     "ah:mm", // short time pattern
 294                 }
 295             },
 296             { "DatePatterns",
 297                 new String[] {
 298                     "yyyy'\u5e74'M'\u6708'd'\u65e5' EEEE", // full date pattern
 299                     "yyyy'\u5e74'M'\u6708'd'\u65e5'", // long date pattern
 300                     "yyyy-M-d", // medium date pattern
 301                     "yy-M-d", // short date pattern
 302                 }
 303             },
 304             { "DateTimePatterns",
 305                 new String[] {
 306                     "{1} {0}" // date-time pattern
 307                 }
 308             },
 309             { "buddhist.DatePatterns",
 310                 new String[] {
 311                     "GGGGy\u5e74M\u6708d\u65e5EEEE",
 312                     "GGGGy\u5e74M\u6708d\u65e5",
 313                     "GGGGyyyy-M-d",
 314                     "GGGGy-M-d",
 315                 }
 316             },
 317             { "japanese.DatePatterns",
 318                 new String[] {
 319                     "GGGGy\u5e74M\u6708d\u65e5EEEE",
 320                     "GGGGy\u5e74M\u6708d\u65e5",
 321                     "GGGGy\u5e74M\u6708d\u65e5",
 322                     "GGGGyy-MM-dd",
 323                 }
 324             },
 325         };
 326     }
 327 }