Print this page
rev 5615 : 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 Jigsaw. by Naoto Sato and Masayoshi Okutsu)
Split |
Close |
Expand all |
Collapse all |
--- old/src/share/classes/sun/text/resources/FormatData_ca.java
+++ new/src/share/classes/sun/text/resources/ca/FormatData_ca.java
1 1 /*
2 - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
2 + * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 4 *
5 5 * This code is free software; you can redistribute it and/or modify it
6 6 * under the terms of the GNU General Public License version 2 only, as
7 7 * published by the Free Software Foundation. Oracle designates this
8 8 * particular file as subject to the "Classpath" exception as provided
9 9 * by Oracle in the LICENSE file that accompanied this code.
10 10 *
11 11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 14 * version 2 for more details (a copy is included in the LICENSE file that
15 15 * accompanied this code).
16 16 *
17 17 * You should have received a copy of the GNU General Public License version
18 18 * 2 along with this work; if not, write to the Free Software Foundation,
19 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 20 *
21 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 22 * or visit www.oracle.com if you need additional information or have any
23 23 * questions.
24 24 */
25 25
26 26 /*
27 27 */
28 28
29 29 /*
30 30 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
31 31 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
32 32 *
33 33 * The original version of this source code and documentation
↓ open down ↓ |
21 lines elided |
↑ open up ↑ |
34 34 * is copyrighted and owned by Taligent, Inc., a wholly-owned
35 35 * subsidiary of IBM. These materials are provided under terms
36 36 * of a License Agreement between Taligent and Sun. This technology
37 37 * is protected by multiple US and International patents.
38 38 *
39 39 * This notice and attribution to Taligent may not be removed.
40 40 * Taligent is a registered trademark of Taligent, Inc.
41 41 *
42 42 */
43 43
44 -package sun.text.resources;
44 +package sun.text.resources.ca;
45 45
46 46 import java.util.ListResourceBundle;
47 47
48 48 public class FormatData_ca extends ListResourceBundle {
49 49 /**
50 50 * Overrides ListResourceBundle
51 51 */
52 52 protected final Object[][] getContents() {
53 53 return new Object[][] {
54 54 { "MonthNames",
55 55 new String[] {
56 + "de gener",
57 + "de febrer",
58 + "de mar\u00e7",
59 + "d\u2019abril",
60 + "de maig",
61 + "de juny",
62 + "de juliol",
63 + "d\u2019agost",
64 + "de setembre",
65 + "d\u2019octubre",
66 + "de novembre",
67 + "de desembre",
68 + "",
69 + }
70 + },
71 + { "standalone.MonthNames",
72 + new String[] {
56 73 "gener", // january
57 74 "febrer", // february
58 75 "mar\u00e7", // march
59 76 "abril", // april
60 77 "maig", // may
61 78 "juny", // june
62 79 "juliol", // july
63 80 "agost", // august
64 81 "setembre", // september
65 82 "octubre", // october
66 83 "novembre", // november
67 84 "desembre", // december
68 85 "" // month 13 if applicable
69 86 }
70 87 },
71 88 { "MonthAbbreviations",
72 89 new String[] {
90 + "de gen.",
91 + "de febr.",
92 + "de mar\u00e7",
93 + "d\u2019abr.",
94 + "de maig",
95 + "de juny",
96 + "de jul.",
97 + "d\u2019ag.",
98 + "de set.",
99 + "d\u2019oct.",
100 + "de nov.",
101 + "de des.",
102 + "",
103 + }
104 + },
105 + { "standalone.MonthAbbreviations",
106 + new String[] {
73 107 "gen.", // abb january
74 108 "feb.", // abb february
75 109 "mar\u00e7", // abb march
76 110 "abr.", // abb april
77 111 "maig", // abb may
78 112 "juny", // abb june
79 113 "jul.", // abb july
80 114 "ag.", // abb august
81 115 "set.", // abb september
82 116 "oct.", // abb october
83 117 "nov.", // abb november
84 118 "des.", // abb december
85 119 "" // abb month 13 if applicable
86 120 }
87 121 },
88 122 { "DayNames",
89 123 new String[] {
90 124 "diumenge", // Sunday
91 125 "dilluns", // Monday
92 126 "dimarts", // Tuesday
93 127 "dimecres", // Wednesday
94 128 "dijous", // Thursday
95 129 "divendres", // Friday
96 130 "dissabte" // Saturday
97 131 }
98 132 },
99 133 { "DayAbbreviations",
100 134 new String[] {
101 135 "dg.", // abb Sunday
102 136 "dl.", // abb Monday
103 137 "dt.", // abb Tuesday
104 138 "dc.", // abb Wednesday
105 139 "dj.", // abb Thursday
106 140 "dv.", // abb Friday
107 141 "ds." // abb Saturday
108 142 }
109 143 },
110 144 { "NumberElements",
111 145 new String[] {
112 146 ",", // decimal separator
113 147 ".", // group (thousands) separator
114 148 ";", // list separator
↓ open down ↓ |
32 lines elided |
↑ open up ↑ |
115 149 "%", // percent sign
116 150 "0", // native 0 digit
117 151 "#", // pattern digit
118 152 "-", // minus sign
119 153 "E", // exponential
120 154 "\u2030", // per mille
121 155 "\u221e", // infinity
122 156 "\ufffd" // NaN
123 157 }
124 158 },
125 - { "DateTimePatterns",
159 + { "TimePatterns",
126 160 new String[] {
127 161 "HH:mm:ss z", // full time pattern
128 162 "HH:mm:ss z", // long time pattern
129 163 "HH:mm:ss", // medium time pattern
130 164 "HH:mm", // short time pattern
165 + }
166 + },
167 + { "DatePatterns",
168 + new String[] {
131 169 "EEEE, d' / 'MMMM' / 'yyyy", // full date pattern
132 170 "d' / 'MMMM' / 'yyyy", // long date pattern
133 171 "dd/MM/yyyy", // medium date pattern
134 172 "dd/MM/yy", // short date pattern
173 + }
174 + },
175 + { "DateTimePatterns",
176 + new String[] {
135 177 "{1} {0}" // date-time pattern
136 178 }
137 179 },
138 180 { "DateTimePatternChars", "GuMtkHmsSEDFwWahKzZ" },
139 181 };
140 182 }
141 183 }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX