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_lv.java
+++ new/src/share/classes/sun/text/resources/lv/FormatData_lv.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.lv;
42 42
43 43 import java.util.ListResourceBundle;
44 44
45 45 public class FormatData_lv 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 53 "janv\u0101ris", // january
54 54 "febru\u0101ris", // february
55 55 "marts", // march
56 56 "apr\u012blis", // april
57 57 "maijs", // may
58 58 "j\u016bnijs", // june
59 59 "j\u016blijs", // july
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
60 60 "augusts", // august
61 61 "septembris", // september
62 62 "oktobris", // october
63 63 "novembris", // november
64 64 "decembris", // december
65 65 "" // month 13 if applicable
66 66 }
67 67 },
68 68 { "MonthAbbreviations",
69 69 new String[] {
70 + "janv.",
71 + "febr.",
72 + "marts",
73 + "apr.",
74 + "maijs",
75 + "j\u016bn.",
76 + "j\u016bl.",
77 + "aug.",
78 + "sept.",
79 + "okt.",
80 + "nov.",
81 + "dec.",
82 + "",
83 + }
84 + },
85 + { "standalone.MonthAbbreviations",
86 + new String[] {
70 87 "Jan", // abb january
71 88 "Feb", // abb february
72 89 "Mar", // abb march
73 90 "Apr", // abb april
74 91 "Maijs", // abb may
75 92 "J\u016bn", // abb june
76 93 "J\u016bl", // abb july
77 94 "Aug", // abb august
78 95 "Sep", // abb september
79 96 "Okt", // abb october
80 97 "Nov", // abb november
81 98 "Dec", // abb december
82 99 "" // abb month 13 if applicable
83 100 }
84 101 },
85 102 { "DayNames",
86 103 new String[] {
87 104 "sv\u0113tdiena", // Sunday
88 105 "pirmdiena", // Monday
89 106 "otrdiena", // Tuesday
90 107 "tre\u0161diena", // Wednesday
91 108 "ceturtdiena", // Thursday
92 109 "piektdiena", // Friday
93 110 "sestdiena" // Saturday
94 111 }
95 112 },
96 113 { "DayAbbreviations",
97 114 new String[] {
98 115 "Sv", // abb Sunday
99 116 "P", // abb Monday
100 117 "O", // abb Tuesday
101 118 "T", // abb Wednesday
102 119 "C", // abb Thursday
103 120 "Pk", // abb Friday
104 121 "S" // abb Saturday
105 122 }
106 123 },
107 124 { "Eras",
108 125 new String[] { // era strings
109 126 "pm\u0113",
110 127 "m\u0113"
111 128 }
112 129 },
113 130 { "NumberElements",
114 131 new String[] {
115 132 ",", // decimal separator
116 133 "\u00a0", // group (thousands) separator
117 134 ";", // list separator
↓ open down ↓ |
38 lines elided |
↑ open up ↑ |
118 135 "%", // percent sign
119 136 "0", // native 0 digit
120 137 "#", // pattern digit
121 138 "-", // minus sign
122 139 "E", // exponential
123 140 "\u2030", // per mille
124 141 "\u221e", // infinity
125 142 "\ufffd" // NaN
126 143 }
127 144 },
128 - { "DateTimePatterns",
145 + { "TimePatterns",
129 146 new String[] {
130 147 "HH:mm:ss z", // full time pattern
131 148 "HH:mm:ss z", // long time pattern
132 149 "HH:mm:ss", // medium time pattern
133 150 "HH:mm", // short time pattern
151 + }
152 + },
153 + { "DatePatterns",
154 + new String[] {
134 155 "EEEE, yyyy, d MMMM", // full date pattern
135 156 "EEEE, yyyy, d MMMM", // long date pattern
136 157 "yyyy.d.M", // medium date pattern
137 158 "yy.d.M", // short date pattern
159 + }
160 + },
161 + { "DateTimePatterns",
162 + new String[] {
138 163 "{1} {0}" // date-time pattern
139 164 }
140 165 },
141 166 { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
142 167 };
143 168 }
144 169 }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX