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_sr_Latn.java
+++ new/src/share/classes/sun/text/resources/sr/FormatData_sr_Latn.java
1 1 /*
2 - * Copyright (c) 1997, 2011, 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 * COPYRIGHT AND PERMISSION NOTICE
28 28 *
29 29 * Copyright (C) 1991-2011 Unicode, Inc. All rights reserved.
30 30 * Distributed under the Terms of Use in http://www.unicode.org/copyright.html.
31 31 *
32 32 * Permission is hereby granted, free of charge, to any person obtaining
33 33 * a copy of the Unicode data files and any associated documentation (the
34 34 * "Data Files") or Unicode software and any associated documentation
35 35 * (the "Software") to deal in the Data Files or Software without
36 36 * restriction, including without limitation the rights to use, copy,
37 37 * modify, merge, publish, distribute, and/or sell copies of the Data
38 38 * Files or Software, and to permit persons to whom the Data Files or
39 39 * Software are furnished to do so, provided that (a) the above copyright
40 40 * notice(s) and this permission notice appear with all copies of the
41 41 * Data Files or Software, (b) both the above copyright notice(s) and
42 42 * this permission notice appear in associated documentation, and (c)
43 43 * there is clear notice in each modified Data File or in the Software as
44 44 * well as in the documentation associated with the Data File(s) or
45 45 * Software that the data or software has been modified.
46 46 *
47 47 * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
48 48 * ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
49 49 * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
50 50 * NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT
51 51 * HOLDER OR HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR
52 52 * ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
53 53 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
54 54 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
↓ open down ↓ |
42 lines elided |
↑ open up ↑ |
55 55 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR
56 56 * SOFTWARE.
57 57 *
58 58 * Except as contained in this notice, the name of a copyright holder
59 59 * shall not be used in advertising or otherwise to promote the sale, use
60 60 * or other dealings in these Data Files or Software without prior
61 61 * written authorization of the copyright holder.
62 62 */
63 63
64 64 // Generated automatically from the Common Locale Data Repository. DO NOT EDIT!
65 -package sun.text.resources;
65 +package sun.text.resources.sr;
66 66
67 67 import java.util.ListResourceBundle;
68 68
69 69 public class FormatData_sr_Latn extends ListResourceBundle {
70 70 protected final Object[][] getContents() {
71 71 return new Object[][] {
72 72 { "MonthNames",
73 73 new String[] {
74 74 "januar",
75 75 "februar",
76 76 "mart",
77 77 "april",
78 78 "maj",
79 79 "jun",
80 80 "jul",
81 81 "avgust",
82 82 "septembar",
83 83 "oktobar",
84 84 "novembar",
85 85 "decembar",
86 86 "",
87 87 }
88 88 },
89 89 { "MonthAbbreviations",
90 90 new String[] {
91 91 "jan",
92 92 "feb",
93 93 "mar",
94 94 "apr",
95 95 "maj",
96 96 "jun",
97 97 "jul",
98 98 "avg",
99 99 "sep",
100 100 "okt",
101 101 "nov",
102 102 "dec",
103 103 "",
104 104 }
105 105 },
106 106 { "DayNames",
107 107 new String[] {
108 108 "nedelja",
109 109 "ponedeljak",
110 110 "utorak",
111 111 "sreda",
112 112 "\u010detvrtak",
113 113 "petak",
114 114 "subota",
115 115 }
116 116 },
117 117 { "DayAbbreviations",
118 118 new String[] {
119 119 "ned",
120 120 "pon",
121 121 "uto",
122 122 "sre",
123 123 "\u010det",
124 124 "pet",
125 125 "sub",
126 126 }
127 127 },
128 128 { "Eras",
129 129 new String[] {
130 130 "p. n. e.",
131 131 "n. e",
132 132 }
133 133 },
134 134 { "NumberPatterns",
135 135 new String[] {
136 136 "#,##0.###",
137 137 "\u00a4\u00a0#,##0.00",
138 138 "#,##0%",
139 139 }
140 140 },
141 141 { "NumberElements",
142 142 new String[] {
143 143 ".",
144 144 ",",
145 145 ";",
↓ open down ↓ |
70 lines elided |
↑ open up ↑ |
146 146 "%",
147 147 "0",
148 148 "#",
149 149 "-",
150 150 "E",
151 151 "\u2030",
152 152 "\u221e",
153 153 "NaN",
154 154 }
155 155 },
156 - { "DateTimePatterns",
156 + { "TimePatterns",
157 157 new String[] {
158 158 "HH.mm.ss zzzz",
159 159 "HH.mm.ss z",
160 160 "HH.mm.ss",
161 161 "HH.mm",
162 + }
163 + },
164 + { "DatePatterns",
165 + new String[] {
162 166 "EEEE, dd. MMMM y.",
163 167 "dd. MMMM y.",
164 168 "dd.MM.y.",
165 169 "d.M.yy.",
170 + }
171 + },
172 + { "DateTimePatterns",
173 + new String[] {
166 174 "{1} {0}",
167 175 }
168 176 },
169 177 };
170 178 }
171 179 }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX