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_da.java
+++ new/src/share/classes/sun/text/resources/da/FormatData_da.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.da;
45 45
46 46 import java.util.ListResourceBundle;
47 47
48 48 public class FormatData_da 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 56 "januar", // january
57 57 "februar", // february
58 58 "marts", // march
59 59 "april", // april
60 60 "maj", // may
61 61 "juni", // june
62 62 "juli", // july
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
63 63 "august", // august
64 64 "september", // september
65 65 "oktober", // october
66 66 "november", // november
67 67 "december", // december
68 68 "" // month 13 if applicable
69 69 }
70 70 },
71 71 { "MonthAbbreviations",
72 72 new String[] {
73 + "jan.",
74 + "feb.",
75 + "mar.",
76 + "apr.",
77 + "maj",
78 + "jun.",
79 + "jul.",
80 + "aug.",
81 + "sep.",
82 + "okt.",
83 + "nov.",
84 + "dec.",
85 + "",
86 + }
87 + },
88 + { "standalone.MonthAbbreviations",
89 + new String[] {
73 90 "jan", // abb january
74 91 "feb", // abb february
75 92 "mar", // abb march
76 93 "apr", // abb april
77 94 "maj", // abb may
78 95 "jun", // abb june
79 96 "jul", // abb july
80 97 "aug", // abb august
81 98 "sep", // abb september
82 99 "okt", // abb october
83 100 "nov", // abb november
84 101 "dec", // abb december
85 102 "" // abb month 13 if applicable
86 103 }
87 104 },
88 105 { "DayNames",
89 106 new String[] {
90 107 "s\u00f8ndag", // Sunday
91 108 "mandag", // Monday
92 109 "tirsdag", // Tuesday
93 110 "onsdag", // Wednesday
94 111 "torsdag", // Thursday
95 112 "fredag", // Friday
96 113 "l\u00f8rdag" // Saturday
97 114 }
98 115 },
99 116 { "DayAbbreviations",
100 117 new String[] {
101 118 "s\u00f8", // abb Sunday
102 119 "ma", // abb Monday
103 120 "ti", // abb Tuesday
104 121 "on", // abb Wednesday
105 122 "to", // abb Thursday
106 123 "fr", // abb Friday
107 124 "l\u00f8" // abb Saturday
108 125 }
109 126 },
110 127 { "NumberElements",
111 128 new String[] {
112 129 ",", // decimal separator
113 130 ".", // group (thousands) separator
114 131 ";", // list separator
↓ open down ↓ |
32 lines elided |
↑ open up ↑ |
115 132 "%", // percent sign
116 133 "0", // native 0 digit
117 134 "#", // pattern digit
118 135 "-", // minus sign
119 136 "E", // exponential
120 137 "\u2030", // per mille
121 138 "\u221e", // infinity
122 139 "\ufffd" // NaN
123 140 }
124 141 },
125 - { "DateTimePatterns",
142 + { "TimePatterns",
126 143 new String[] {
127 144 "HH:mm:ss z", // full time pattern
128 145 "HH:mm:ss z", // long time pattern
129 146 "HH:mm:ss", // medium time pattern
130 147 "HH:mm", // short time pattern
148 + }
149 + },
150 + { "DatePatterns",
151 + new String[] {
131 152 "d. MMMM yyyy", // full date pattern
132 153 "d. MMMM yyyy", // long date pattern
133 154 "dd-MM-yyyy", // medium date pattern
134 155 "dd-MM-yy", // short date pattern
156 + }
157 + },
158 + { "DateTimePatterns",
159 + new String[] {
135 160 "{1} {0}" // date-time pattern
136 161 }
137 162 },
138 163 { "DateTimePatternChars", "GuMtkHmsSEDFwWahKzZ" },
139 164 };
140 165 }
141 166 }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX