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_hr.java
+++ new/src/share/classes/sun/text/resources/hr/FormatData_hr.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 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
28 28 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
29 29 *
30 30 * The original version of this source code and documentation
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
31 31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 32 * subsidiary of IBM. These materials are provided under terms
33 33 * of a License Agreement between Taligent and Sun. This technology
34 34 * is protected by multiple US and International patents.
35 35 *
36 36 * This notice and attribution to Taligent may not be removed.
37 37 * Taligent is a registered trademark of Taligent, Inc.
38 38 *
39 39 */
40 40
41 -package sun.text.resources;
41 +package sun.text.resources.hr;
42 42
43 43 import java.util.ListResourceBundle;
44 44
45 45 public class FormatData_hr extends ListResourceBundle {
46 46 /**
47 47 * Overrides ListResourceBundle
48 48 */
49 49 protected final Object[][] getContents() {
50 50 return new Object[][] {
51 51 { "MonthNames",
52 52 new String[] {
53 + "sije\u010dnja",
54 + "velja\u010de",
55 + "o\u017eujka",
56 + "travnja",
57 + "svibnja",
58 + "lipnja",
59 + "srpnja",
60 + "kolovoza",
61 + "rujna",
62 + "listopada",
63 + "studenoga",
64 + "prosinca",
65 + "",
66 + }
67 + },
68 + { "standalone.MonthNames",
69 + new String[] {
53 70 "sije\u010danj", // january
54 71 "velja\u010da", // february
55 72 "o\u017eujak", // march
56 73 "travanj", // april
57 74 "svibanj", // may
58 75 "lipanj", // june
59 76 "srpanj", // july
60 77 "kolovoz", // august
61 78 "rujan", // september
62 79 "listopad", // october
63 80 "studeni", // november
64 81 "prosinac", // december
65 82 "" // month 13 if applicable
66 83 }
67 84 },
68 85 { "MonthAbbreviations",
69 86 new String[] {
87 + "sij",
88 + "velj",
89 + "o\u017eu",
90 + "tra",
91 + "svi",
92 + "lip",
93 + "srp",
94 + "kol",
95 + "ruj",
96 + "lis",
97 + "stu",
98 + "pro",
99 + "",
100 + }
101 + },
102 + { "standalone.MonthAbbreviations",
103 + new String[] {
70 104 "sij", // abb january
71 105 "vel", // abb february
72 106 "o\u017eu", // abb march
73 107 "tra", // abb april
74 108 "svi", // abb may
75 109 "lip", // abb june
76 110 "srp", // abb july
77 111 "kol", // abb august
78 112 "ruj", // abb september
79 113 "lis", // abb october
80 114 "stu", // abb november
81 115 "pro", // abb december
82 116 "" // abb month 13 if applicable
83 117 }
84 118 },
85 119 { "DayNames",
86 120 new String[] {
87 121 "nedjelja", // Sunday
88 122 "ponedjeljak", // Monday
89 123 "utorak", // Tuesday
90 124 "srijeda", // Wednesday
91 125 "\u010detvrtak", // Thursday
92 126 "petak", // Friday
93 127 "subota" // Saturday
94 128 }
95 129 },
96 130 { "DayAbbreviations",
97 131 new String[] {
98 132 "ned", // abb Sunday
99 133 "pon", // abb Monday
100 134 "uto", // abb Tuesday
101 135 "sri", // abb Wednesday
102 136 "\u010det", // abb Thursday
103 137 "pet", // abb Friday
104 138 "sub" // abb Saturday
105 139 }
106 140 },
107 141 { "NumberElements",
108 142 new String[] {
109 143 ",", // decimal separator
110 144 ".", // group (thousands) separator
111 145 ";", // list separator
↓ open down ↓ |
32 lines elided |
↑ open up ↑ |
112 146 "%", // percent sign
113 147 "0", // native 0 digit
114 148 "#", // pattern digit
115 149 "-", // minus sign
116 150 "E", // exponential
117 151 "\u2030", // per mille
118 152 "\u221e", // infinity
119 153 "\ufffd" // NaN
120 154 }
121 155 },
122 - { "DateTimePatterns",
156 + { "TimePatterns",
123 157 new String[] {
124 158 "HH:mm:ss z", // full time pattern
125 159 "HH:mm:ss z", // long time pattern
126 160 "HH:mm:ss", // medium time pattern
127 161 "HH:mm", // short time pattern
162 + }
163 + },
164 + { "DatePatterns",
165 + new String[] {
128 166 "yyyy. MMMM dd", // full date pattern
129 167 "yyyy. MMMM dd", // long date pattern
130 168 "yyyy.MM.dd", // medium date pattern
131 169 "yyyy.MM.dd", // short date pattern
170 + }
171 + },
172 + { "DateTimePatterns",
173 + new String[] {
132 174 "{1} {0}" // date-time pattern
133 175 }
134 176 },
135 177 { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
136 178 };
137 179 }
138 180 }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX