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_vi.java
+++ new/src/share/classes/sun/text/resources/vi/FormatData_vi.java
1 1 /*
2 - * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
2 + * Copyright (c) 2003, 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 * (C) Copyright IBM Corp. 1996-2003 - All Rights Reserved *
29 29 * *
30 30 * The original version of this source code and documentation is copyrighted *
31 31 * and owned by IBM, These materials are provided under terms of a License *
32 32 * Agreement between IBM and Sun. This technology is protected by multiple *
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
33 33 * US and International patents. This notice and attribution to IBM may not *
34 34 * to removed. *
35 35 *******************************************************************************
36 36 *
37 37 * This locale data is based on the ICU's Vietnamese locale data (rev. 1.38)
38 38 * found at:
39 39 *
40 40 * http://oss.software.ibm.com/cvs/icu/icu/source/data/locales/vi.txt?rev=1.38
41 41 */
42 42
43 -package sun.text.resources;
43 +package sun.text.resources.vi;
44 44
45 45 import java.util.ListResourceBundle;
46 46
47 47 public class FormatData_vi extends ListResourceBundle {
48 48 /**
49 49 * Overrides ListResourceBundle
50 50 */
51 51 protected final Object[][] getContents() {
52 52 return new Object[][] {
53 53 { "MonthNames",
54 54 new String[] {
55 55 "th\u00e1ng m\u1ed9t", // january
56 56 "th\u00e1ng hai", // february
57 57 "th\u00e1ng ba", // march
58 58 "th\u00e1ng t\u01b0", // april
59 59 "th\u00e1ng n\u0103m", // may
60 60 "th\u00e1ng s\u00e1u", // june
61 61 "th\u00e1ng b\u1ea3y", // july
62 62 "th\u00e1ng t\u00e1m", // august
63 63 "th\u00e1ng ch\u00edn", // september
64 64 "th\u00e1ng m\u01b0\u1eddi", // october
65 65 "th\u00e1ng m\u01b0\u1eddi m\u1ed9t", // november
66 66 "th\u00e1ng m\u01b0\u1eddi hai", // december
67 67 "" // month 13 if applicable
68 68 }
69 69 },
70 70 { "MonthAbbreviations",
71 71 new String[] {
72 72 "thg 1", // abb january
73 73 "thg 2", // abb february
74 74 "thg 3", // abb march
75 75 "thg 4", // abb april
76 76 "thg 5", // abb may
77 77 "thg 6", // abb june
78 78 "thg 7", // abb july
79 79 "thg 8", // abb august
80 80 "thg 9", // abb september
81 81 "thg 10", // abb october
82 82 "thg 11", // abb november
83 83 "thg 12", // abb december
84 84 "" // abb month 13 if applicable
85 85 }
86 86 },
87 87 { "DayNames",
88 88 new String[] {
89 89 "Ch\u1ee7 nh\u1eadt", // Sunday
90 90 "Th\u1ee9 hai", // Monday
91 91 "Th\u1ee9 ba", // Tuesday
92 92 "Th\u1ee9 t\u01b0", // Wednesday
93 93 "Th\u1ee9 n\u0103m", // Thursday
94 94 "Th\u1ee9 s\u00e1u", // Friday
95 95 "Th\u1ee9 b\u1ea3y" // Saturday
96 96 }
97 97 },
98 98 { "DayAbbreviations",
99 99 new String[] {
100 100 "CN", // abb Sunday
101 101 "Th 2", // abb Monday
102 102 "Th 3", // abb Tuesday
103 103 "Th 4", // abb Wednesday
104 104 "Th 5", // abb Thursday
105 105 "Th 6", // abb Friday
106 106 "Th 7" // abb Saturday
107 107 }
108 108 },
109 109 { "AmPmMarkers",
110 110 new String[] {
111 111 "SA", // am marker
112 112 "CH" // pm marker
113 113 }
114 114 },
115 115 { "Eras",
116 116 new String[] { // era strings
117 117 "tr. CN",
118 118 "sau CN"
119 119 }
120 120 },
121 121 { "NumberElements",
122 122 new String[] {
123 123 ",", // decimal separator
124 124 ".", // group (thousands) separator
125 125 ";", // list separator
↓ open down ↓ |
72 lines elided |
↑ open up ↑ |
126 126 "%", // percent sign
127 127 "0", // native 0 digit
128 128 "#", // pattern digit
129 129 "-", // minus sign
130 130 "E", // exponential
131 131 "\u2030", // per mille
132 132 "\u221e", // infinity
133 133 "\ufffd" // NaN
134 134 }
135 135 },
136 - { "DateTimePatterns",
136 + { "TimePatterns",
137 137 new String[] {
138 138 "HH:mm:ss z", // full time pattern
139 139 "HH:mm:ss z", // long time pattern
140 140 "HH:mm:ss", // medium time pattern
141 141 "HH:mm", // short time pattern
142 + }
143 + },
144 + { "DatePatterns",
145 + new String[] {
142 146 "EEEE, 'ng\u00E0y' dd MMMM 'n\u0103m' yyyy", // full date pattern
143 147 "'Ng\u00E0y' dd 'th\u00E1ng' M 'n\u0103m' yyyy", // long date pattern
144 148 "dd-MM-yyyy", // medium date pattern
145 149 "dd/MM/yyyy", // short date pattern
150 + }
151 + },
152 + { "DateTimePatterns",
153 + new String[] {
146 154 "{0} {1}" // date-time pattern
147 155 }
148 156 },
149 157 };
150 158 }
151 159 }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX