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.zh;
  78 
  79 import java.util.ListResourceBundle;
  80 
  81 public class FormatData_zh extends ListResourceBundle {
  82     /**
  83      * Overrides ListResourceBundle
  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             { "MonthAbbreviations",
 110                 new String[] {
 111                     "\u4e00\u6708", // abb january
 112                     "\u4e8c\u6708", // abb february
 113                     "\u4e09\u6708", // abb march
 114                     "\u56db\u6708", // abb april
 115                     "\u4e94\u6708", // abb may
 116                     "\u516d\u6708", // abb june
 117                     "\u4e03\u6708", // abb july
 118                     "\u516b\u6708", // abb august
 119                     "\u4e5d\u6708", // abb september
 120                     "\u5341\u6708", // abb october
 121                     "\u5341\u4e00\u6708", // abb november
 122                     "\u5341\u4e8c\u6708", // abb december
 123                     "" // abb month 13 if applicable
 124                 }
 125             },
 126             { "standalone.MonthNarrows",
 127                 new String[] {
 128                     "1\u6708",
 129                     "2\u6708",
 130                     "3\u6708",
 131                     "4\u6708",
 132                     "5\u6708",
 133                     "6\u6708",
 134                     "7\u6708",
 135                     "8\u6708",
 136                     "9\u6708",
 137                     "10\u6708",
 138                     "11\u6708",
 139                     "12\u6708",
 140                     "",
 141                 }
 142             },
 143             { "DayNames",
 144                 new String[] {
 145                     "\u661f\u671f\u65e5", // Sunday
 146                     "\u661f\u671f\u4e00", // Monday
 147                     "\u661f\u671f\u4e8c", // Tuesday
 148                     "\u661f\u671f\u4e09", // Wednesday
 149                     "\u661f\u671f\u56db", // Thursday
 150                     "\u661f\u671f\u4e94", // Friday
 151                     "\u661f\u671f\u516d" // Saturday
 152                 }
 153             },
 154             { "DayAbbreviations",
 155                 new String[] {
 156                     "\u661f\u671f\u65e5", // abb Sunday
 157                     "\u661f\u671f\u4e00", // abb Monday
 158                     "\u661f\u671f\u4e8c", // abb Tuesday
 159                     "\u661f\u671f\u4e09", // abb Wednesday
 160                     "\u661f\u671f\u56db", // abb Thursday
 161                     "\u661f\u671f\u4e94", // abb Friday
 162                     "\u661f\u671f\u516d" // abb Saturday
 163                 }
 164             },
 165             { "DayNarrows",
 166                 new String[] {
 167                     "\u65e5",
 168                     "\u4e00",
 169                     "\u4e8c",
 170                     "\u4e09",
 171                     "\u56db",
 172                     "\u4e94",
 173                     "\u516d",
 174                 }
 175             },
 176             { "AmPmMarkers",
 177                 new String[] {
 178                     "\u4e0a\u5348", // am marker
 179                     "\u4e0b\u5348" // pm marker
 180                 }
 181             },
 182             { "Eras",
 183                 new String[] { // era strings
 184                     "\u516c\u5143\u524d",
 185                     "\u516c\u5143"
 186                 }
 187             },
 188             { "TimePatterns",
 189                 new String[] {
 190                     "ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern
 191                     "ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern
 192                     "H:mm:ss", // medium time pattern
 193                     "ah:mm", // short time pattern
 194                 }
 195             },
 196             { "DatePatterns",
 197                 new String[] {
 198                     "yyyy'\u5e74'M'\u6708'd'\u65e5' EEEE", // full date pattern
 199                     "yyyy'\u5e74'M'\u6708'd'\u65e5'", // long date pattern
 200                     "yyyy-M-d", // medium date pattern
 201                     "yy-M-d", // short date pattern
 202                 }
 203             },
 204             { "DateTimePatterns",
 205                 new String[] {
 206                     "{1} {0}" // date-time pattern
 207                 }
 208             },
 209             { "cldr.buddhist.DatePatterns",
 210                 new String[] {
 211                     "Gy\u5e74M\u6708d\u65e5EEEE",
 212                     "Gy\u5e74M\u6708d\u65e5",
 213                     "Gyyyy-M-d",
 214                     "Gy-M-d",
 215                 }
 216             },
 217             { "cldr.japanese.DatePatterns",
 218                 new String[] {
 219                     "Gy\u5e74M\u6708d\u65e5EEEE",
 220                     "Gy\u5e74M\u6708d\u65e5",
 221                     "Gy\u5e74M\u6708d\u65e5",
 222                     "Gyy-MM-dd",
 223                 }
 224             },
 225             { "roc.Eras", rocEras },
 226             { "roc.short.Eras", rocEras },
 227             { "cldr.roc.DatePatterns",
 228                 new String[] {
 229                     "Gy\u5e74M\u6708d\u65e5EEEE",
 230                     "Gy\u5e74M\u6708d\u65e5",
 231                     "Gy-M-d",
 232                     "Gy-M-d",
 233                 }
 234             },
 235             { "roc.DatePatterns",
 236                 new String[] {
 237                     "GGGGy\u5e74M\u6708d\u65e5EEEE",
 238                     "GGGGy\u5e74M\u6708d\u65e5",
 239                     "GGGGy-M-d",
 240                     "GGGGy-M-d",
 241                 }
 242             },
 243             { "cldr.islamic.DatePatterns",
 244                 new String[] {
 245                     "Gy\u5e74M\u6708d\u65e5EEEE",
 246                     "Gy\u5e74M\u6708d\u65e5",
 247                     "Gy\u5e74M\u6708d\u65e5",
 248                     "Gyy-MM-dd",
 249                 }
 250             },
 251             { "islamic.DatePatterns",
 252                 new String[] {
 253                     "GGGGy\u5e74M\u6708d\u65e5EEEE",
 254                     "GGGGy\u5e74M\u6708d\u65e5",
 255                     "GGGGy\u5e74M\u6708d\u65e5",
 256                     "GGGGyy-MM-dd",
 257                 }
 258             },
 259             { "calendarname.islamic-civil", "\u4f0a\u65af\u5170\u5e0c\u5409\u6765\u5386" },
 260             { "calendarname.islamicc", "\u4f0a\u65af\u5170\u5e0c\u5409\u6765\u5386" },
 261             { "calendarname.islamic", "\u4f0a\u65af\u5170\u65e5\u5386" },
 262             { "calendarname.japanese", "\u65e5\u672c\u65e5\u5386" },
 263             { "calendarname.gregorian", "\u516c\u5386" },
 264             { "calendarname.gregory", "\u516c\u5386" },
 265             { "calendarname.roc", "\u6c11\u56fd\u65e5\u5386" },
 266             { "calendarname.buddhist", "\u4f5b\u6559\u65e5\u5386" },
 267             { "field.era", "\u65f6\u671f" },
 268             { "field.year", "\u5e74" },
 269             { "field.month", "\u6708" },
 270             { "field.week", "\u5468" },
 271             { "field.weekday", "\u5468\u5929" },
 272             { "field.dayperiod", "\u4e0a\u5348/\u4e0b\u5348" },
 273             { "field.hour", "\u5c0f\u65f6" },
 274             { "field.minute", "\u5206\u949f" },
 275             { "field.second", "\u79d2\u949f" },
 276             { "field.zone", "\u533a\u57df" },
 277         };
 278     }
 279 }