jdk/src/share/classes/sun/text/resources/zh/FormatData_zh.java
author naoto
Tue, 21 Aug 2012 11:00:30 -0700
changeset 13583 dc0017b1a452
parent 5506 jdk/src/share/classes/sun/text/resources/FormatData_zh.java@202f599c92aa
child 14765 0987999ed367
permissions -rw-r--r--
6336885: RFE: Locale Data Deployment Enhancements 4609153: Provide locale data for Indic locales 5104387: Support for gl_ES locale (galician language) 6337471: desktop/system locale preferences support 7056139: (cal) SPI support for locale-dependent Calendar parameters 7058206: Provide CalendarData SPI for week params and display field value names 7073852: Support multiple scripts for digits and decimal symbols per locale 7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat 7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales 7151414: (cal) Support calendar type identification 7168528: LocaleServiceProvider needs to be aware of Locale extensions 7171372: (cal) locale's default Calendar should be created if unknown calendar is specified Summary: JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu) Reviewed-by: erikj, sherman, peytoia
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
     2
 * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 * (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
 * The original version of this source code and documentation
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 * is copyrighted and owned by Taligent, Inc., a wholly-owned
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * subsidiary of IBM. These materials are provided under terms
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * of a License Agreement between Taligent and Sun. This technology
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * is protected by multiple US and International patents.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * This notice and attribution to Taligent may not be removed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * Taligent is a registered trademark of Taligent, Inc.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
    41
package sun.text.resources.zh;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
import java.util.ListResourceBundle;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
public class FormatData_zh extends ListResourceBundle {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
     * Overrides ListResourceBundle
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
     */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    protected final Object[][] getContents() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
        return new Object[][] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
            { "MonthNames",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
                    "\u4e00\u6708", // january
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
                    "\u4e8c\u6708", // february
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
                    "\u4e09\u6708", // march
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
                    "\u56db\u6708", // april
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
                    "\u4e94\u6708", // may
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
                    "\u516d\u6708", // june
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
                    "\u4e03\u6708", // july
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
                    "\u516b\u6708", // august
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
                    "\u4e5d\u6708", // september
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
                    "\u5341\u6708", // october
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
                    "\u5341\u4e00\u6708", // november
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
                    "\u5341\u4e8c\u6708", // december
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
                    "" // month 13 if applicable
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
            { "MonthAbbreviations",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
                    "\u4e00\u6708", // abb january
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
                    "\u4e8c\u6708", // abb february
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
                    "\u4e09\u6708", // abb march
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
                    "\u56db\u6708", // abb april
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
                    "\u4e94\u6708", // abb may
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
                    "\u516d\u6708", // abb june
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
                    "\u4e03\u6708", // abb july
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
                    "\u516b\u6708", // abb august
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
                    "\u4e5d\u6708", // abb september
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
                    "\u5341\u6708", // abb october
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
                    "\u5341\u4e00\u6708", // abb november
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
                    "\u5341\u4e8c\u6708", // abb december
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
                    "" // abb month 13 if applicable
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
            { "DayNames",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
                    "\u661f\u671f\u65e5", // Sunday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
                    "\u661f\u671f\u4e00", // Monday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
                    "\u661f\u671f\u4e8c", // Tuesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
                    "\u661f\u671f\u4e09", // Wednesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
                    "\u661f\u671f\u56db", // Thursday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
                    "\u661f\u671f\u4e94", // Friday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
                    "\u661f\u671f\u516d" // Saturday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
            { "DayAbbreviations",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
                    "\u661f\u671f\u65e5", // abb Sunday
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
                    "\u661f\u671f\u4e00", // abb Monday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
                    "\u661f\u671f\u4e8c", // abb Tuesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
                    "\u661f\u671f\u4e09", // abb Wednesday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
                    "\u661f\u671f\u56db", // abb Thursday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
                    "\u661f\u671f\u4e94", // abb Friday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
                    "\u661f\u671f\u516d" // abb Saturday
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
            { "AmPmMarkers",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
                    "\u4e0a\u5348", // am marker
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
                    "\u4e0b\u5348" // pm marker
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
            { "Eras",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
                new String[] { // era strings
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
                    "\u516c\u5143\u524d",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
                    "\u516c\u5143"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
            },
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   119
            { "TimePatterns",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
                new String[] {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
                    "ahh'\u65f6'mm'\u5206'ss'\u79d2' z", // full time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
                    "ahh'\u65f6'mm'\u5206'ss'\u79d2'", // long time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
                    "H:mm:ss", // medium time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
                    "ah:mm", // short time pattern
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   125
                }
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   126
            },
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   127
            { "DatePatterns",
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   128
                new String[] {
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
                    "yyyy'\u5e74'M'\u6708'd'\u65e5' EEEE", // full date pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
                    "yyyy'\u5e74'M'\u6708'd'\u65e5'", // long date pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
                    "yyyy-M-d", // medium date pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
                    "yy-M-d", // short date pattern
13583
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   133
                }
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   134
            },
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   135
            { "DateTimePatterns",
dc0017b1a452 6336885: RFE: Locale Data Deployment Enhancements
naoto
parents: 5506
diff changeset
   136
                new String[] {
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
                    "{1} {0}" // date-time pattern
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
                }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
            },
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
        };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
}