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.ja;
  78 
  79 import java.util.ListResourceBundle;
  80 
  81 public class FormatData_ja extends ListResourceBundle {
  82     /**
  83      * Overrides ListResourceBundle
  84      */
  85     @Override
  86     protected final Object[][] getContents() {
  87         // era strings for Japanese imperial calendar
  88         final String[] japaneseEras = {
  89             "\u897f\u66a6", // Seireki (Gregorian)
  90             "\u660e\u6cbb", // Meiji
  91             "\u5927\u6b63", // Taisho
  92             "\u662d\u548c", // Showa
  93             "\u5e73\u6210", // Heisei
  94         };
  95         final String[] rocEras = {
  96             "\u6c11\u56fd\u524d",
  97             "\u6c11\u56fd",
  98         };
  99         return new Object[][] {
 100             { "MonthNames",
 101                 new String[] {
 102                     "1\u6708", // january
 103                     "2\u6708", // february
 104                     "3\u6708", // march
 105                     "4\u6708", // april
 106                     "5\u6708", // may
 107                     "6\u6708", // june
 108                     "7\u6708", // july
 109                     "8\u6708", // august
 110                     "9\u6708", // september
 111                     "10\u6708", // october
 112                     "11\u6708", // november
 113                     "12\u6708", // december
 114                     ""          // month 13 if applicable
 115                 }
 116             },
 117             { "MonthAbbreviations",
 118                 new String[] {
 119                     "1", // abb january
 120                     "2", // abb february
 121                     "3", // abb march
 122                     "4", // abb april
 123                     "5", // abb may
 124                     "6", // abb june
 125                     "7", // abb july
 126                     "8", // abb august
 127                     "9", // abb september
 128                     "10", // abb october
 129                     "11", // abb november
 130                     "12", // abb december
 131                     ""    // abb month 13 if applicable
 132                 }
 133             },
 134             { "DayNames",
 135                 new String[] {
 136                     "\u65e5\u66dc\u65e5", // Sunday
 137                     "\u6708\u66dc\u65e5", // Monday
 138                     "\u706b\u66dc\u65e5", // Tuesday
 139                     "\u6c34\u66dc\u65e5", // Wednesday
 140                     "\u6728\u66dc\u65e5", // Thursday
 141                     "\u91d1\u66dc\u65e5", // Friday
 142                     "\u571f\u66dc\u65e5"  // Saturday
 143                 }
 144             },
 145             { "DayAbbreviations",
 146                 new String[] {
 147                     "\u65e5", // abb Sunday
 148                     "\u6708", // abb Monday
 149                     "\u706b", // abb Tuesday
 150                     "\u6c34", // abb Wednesday
 151                     "\u6728", // abb Thursday
 152                     "\u91d1", // abb Friday
 153                     "\u571f"  // abb Saturday
 154                 }
 155             },
 156             { "DayNarrows",
 157                 new String[] {
 158                     "\u65e5",
 159                     "\u6708",
 160                     "\u706b",
 161                     "\u6c34",
 162                     "\u6728",
 163                     "\u91d1",
 164                     "\u571f",
 165                 }
 166             },
 167             { "AmPmMarkers",
 168                 new String[] {
 169                     "\u5348\u524d", // am marker
 170                     "\u5348\u5f8c" // pm marker
 171                 }
 172             },
 173             { "Eras",
 174                 new String[] { // era strings for GregorianCalendar
 175                     "\u7d00\u5143\u524d",
 176                     "\u897f\u66a6"
 177                 }
 178             },
 179             { "buddhist.Eras",
 180                 new String[] { // era strings for Thai Buddhist calendar
 181                     "\u7d00\u5143\u524d", // Kigenzen
 182                     "\u4ecf\u66a6",       // Butsureki
 183                 }
 184             },
 185             { "cldr.buddhist.DatePatterns",
 186                 new String[] {
 187                     "GGGGy\u5e74M\u6708d\u65e5EEEE",
 188                     "GGGGy\u5e74M\u6708d\u65e5",
 189                     "Gy/MM/dd",
 190                     "Gy/MM/dd",
 191                 }
 192             },
 193             { "japanese.Eras", japaneseEras },
 194             { "cldr.japanese.short.Eras", japaneseEras },







 195             { "japanese.FirstYear",
 196                 new String[] {  // first year name
 197                     "\u5143",   // "Gan"-nen
 198                 }
 199             },
 200             { "NumberElements",
 201                 new String[] {
 202                     ".",        // decimal separator
 203                     ",",        // group (thousands) separator
 204                     ";",        // list separator
 205                     "%",        // percent sign
 206                     "0",        // native 0 digit
 207                     "#",        // pattern digit
 208                     "-",        // minus sign
 209                     "E",        // exponential
 210                     "\u2030",   // per mille
 211                     "\u221e",   // infinity
 212                     "\ufffd"    // NaN
 213                 }
 214             },
 215             { "TimePatterns",
 216                 new String[] {
 217                     "H'\u6642'mm'\u5206'ss'\u79d2' z", // full time pattern
 218                     "H:mm:ss z",                       // long time pattern
 219                     "H:mm:ss",                         // medium time pattern
 220                     "H:mm",                            // short time pattern
 221                 }
 222             },
 223             { "DatePatterns",
 224                 new String[] {
 225                     "yyyy'\u5e74'M'\u6708'd'\u65e5'",  // full date pattern
 226                     "yyyy/MM/dd",                      // long date pattern
 227                     "yyyy/MM/dd",                      // medium date pattern
 228                     "yy/MM/dd",                        // short date pattern
 229                 }
 230             },
 231             { "DateTimePatterns",
 232                 new String[] {
 233                     "{1} {0}"                          // date-time pattern
 234                 }
 235             },
 236             { "cldr.japanese.DatePatterns",
 237                 new String[] {
 238                     "Gy\u5e74M\u6708d\u65e5EEEE",
 239                     "Gy\u5e74M\u6708d\u65e5",
 240                     "Gy\u5e74M\u6708d\u65e5",
 241                     "Gyy/MM/dd",
 242                 }
 243             },
 244             { "japanese.DatePatterns",
 245                 new String[] {
 246                     "GGGGyyyy'\u5e74'M'\u6708'd'\u65e5'", // full date pattern
 247                     "Gy.MM.dd",  // long date pattern
 248                     "Gy.MM.dd",  // medium date pattern
 249                     "Gy.MM.dd",  // short date pattern
 250                 }
 251             },
 252             { "japanese.TimePatterns",
 253                 new String[] {
 254                     "H'\u6642'mm'\u5206'ss'\u79d2' z", // full time pattern
 255                     "H:mm:ss z", // long time pattern
 256                     "H:mm:ss",   // medium time pattern
 257                     "H:mm",      // short time pattern
 258                 }
 259             },
 260             { "japanese.DateTimePatterns",
 261                 new String[] {
 262                     "{1} {0}"    // date-time pattern
 263                 }
 264             },
 265             { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" },
 266             { "roc.Eras", rocEras },
 267             { "roc.short.Eras", rocEras },




 268             { "cldr.roc.DatePatterns",
 269                 new String[] {
 270                     "Gy\u5e74M\u6708d\u65e5EEEE",
 271                     "Gy\u5e74M\u6708d\u65e5",
 272                     "Gy/MM/dd",
 273                     "Gy/MM/dd",
 274                 }
 275             },
 276             { "roc.DatePatterns",
 277                 new String[] {
 278                     "GGGGy\u5e74M\u6708d\u65e5EEEE",
 279                     "GGGGy\u5e74M\u6708d\u65e5",
 280                     "GGGGy/MM/dd",
 281                     "GGGGy/MM/dd",
 282                 }
 283             },
 284             { "calendarname.islamic-civil", "\u592a\u967d\u30a4\u30b9\u30e9\u30e0\u66a6" },
 285             { "calendarname.islamicc", "\u592a\u967d\u30a4\u30b9\u30e9\u30e0\u66a6" },
 286             { "calendarname.islamic", "\u30a4\u30b9\u30e9\u30e0\u66a6" },
 287             { "calendarname.japanese", "\u548c\u66a6" },
 288             { "calendarname.gregorian", "\u897f\u66a6[\u30b0\u30ec\u30b4\u30ea\u30aa\u66a6]" },
 289             { "calendarname.gregory", "\u897f\u66a6[\u30b0\u30ec\u30b4\u30ea\u30aa\u66a6]" },
 290             { "calendarname.roc", "\u4e2d\u83ef\u6c11\u56fd\u66a6" },
 291             { "calendarname.buddhist", "\u30bf\u30a4\u4ecf\u6559\u66a6" },
 292             { "field.era", "\u6642\u4ee3" },
 293             { "field.year", "\u5e74" },
 294             { "field.month", "\u6708" },
 295             { "field.week", "\u9031" },
 296             { "field.weekday", "\u66dc\u65e5" },
 297             { "field.dayperiod", "\u5348\u524d/\u5348\u5f8c" },
 298             { "field.hour", "\u6642" },
 299             { "field.minute", "\u5206" },
 300             { "field.second", "\u79d2" },
 301             { "field.zone", "\u30bf\u30a4\u30e0\u30be\u30fc\u30f3" },
 302         };
 303     }
 304 }
--- EOF ---