1 /*
2 * Copyright (c) 1998, 2005, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
28 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
29 *
30 * The original version of this source code and documentation
31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 * subsidiary of IBM. These materials are provided under terms
33 * of a License Agreement between Taligent and Sun. This technology
34 * is protected by multiple US and International patents.
35 *
36 * This notice and attribution to Taligent may not be removed.
37 * Taligent is a registered trademark of Taligent, Inc.
38 *
39 */
40
41 package sun.text.resources;
42
43 import java.util.ListResourceBundle;
44
45 public class FormatData_th extends ListResourceBundle {
46 /**
47 * Overrides ListResourceBundle
48 */
49 protected final Object[][] getContents() {
50 String[] dateTimePatterns = new String[] {
51 "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35 'ss' \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35'", // full time pattern
52 "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35'", // long time pattern
53 "H:mm:ss", // medium time pattern
54 "H:mm' \u0e19.'", // short time pattern (modified) -- add ' \u0e19.'
55 // (it means something like "o'clock" in english)
56 "EEEE'\u0e17\u0e35\u0e48 'd MMMM G yyyy", // full date pattern
57 "d MMMM yyyy", // long date pattern
58 "d MMM yyyy", // medium date pattern
59 "d/M/yyyy", // short date pattern
60 "{1}, {0}" // date-time pattern
61 };
62
63 return new Object[][] {
64 { "MonthNames",
65 new String[] {
66 "\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21", // january
67 "\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c", // february
68 "\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21", // march
69 "\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19", // april
70 "\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21", // may
71 "\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19", // june
72 "\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21", // july
73 "\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21", // august
74 "\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19", // september
75 "\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21", // october
76 "\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19", // november
77 "\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21", // december
78 "" // month 13 if applicable
79 }
106 "\u0e27\u0e31\u0e19\u0e40\u0e2a\u0e32\u0e23\u0e4c" // Saturday
107 }
108 },
109 { "DayAbbreviations",
110 new String[] {
111 "\u0e2d\u0e32.", // abb Sunday
112 "\u0e08.", // abb Monday
113 "\u0e2d.", // abb Tuesday
114 "\u0e1e.", // abb Wednesday
115 "\u0e1e\u0e24.", // abb Thursday
116 "\u0e28.", // abb Friday
117 "\u0e2a." // abb Saturday
118 }
119 },
120 { "AmPmMarkers",
121 new String[] {
122 "\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07", // am marker
123 "\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07" // pm marker
124 }
125 },
126 { "sun.util.BuddhistCalendar.Eras",
127 new String[] { // era strings
128 "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
129 "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
130 }
131 },
132 { "sun.util.BuddhistCalendar.short.Eras",
133 new String[] { // era strings
134 "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
135 "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
136 }
137 },
138 { "Eras",
139 new String[] { // era strings
140 "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
141 "\u0e04.\u0e28."
142 }
143 },
144 { "sun.util.BuddhistCalendar.DateTimePatterns",
145 dateTimePatterns
146 },
147 { "DateTimePatterns",
148 dateTimePatterns
149 },
150 { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
151 };
152 }
153 }
|
1 /*
2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25
26 /*
27 * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
28 * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
29 *
30 * The original version of this source code and documentation
31 * is copyrighted and owned by Taligent, Inc., a wholly-owned
32 * subsidiary of IBM. These materials are provided under terms
33 * of a License Agreement between Taligent and Sun. This technology
34 * is protected by multiple US and International patents.
35 *
36 * This notice and attribution to Taligent may not be removed.
37 * Taligent is a registered trademark of Taligent, Inc.
38 *
39 */
40
41 package sun.text.resources.th;
42
43 import java.util.ListResourceBundle;
44
45 public class FormatData_th extends ListResourceBundle {
46 /**
47 * Overrides ListResourceBundle
48 */
49 protected final Object[][] getContents() {
50 String[] timePatterns = new String[] {
51 "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35 'ss' \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35'", // full time pattern
52 "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35'", // long time pattern
53 "H:mm:ss", // medium time pattern
54 "H:mm' \u0e19.'", // short time pattern (modified) -- add ' \u0e19.'
55 // (it means something like "o'clock" in english)
56 };
57 String[] datePatterns = new String[] {
58 "EEEE'\u0e17\u0e35\u0e48 'd MMMM G yyyy", // full date pattern
59 "d MMMM yyyy", // long date pattern
60 "d MMM yyyy", // medium date pattern
61 "d/M/yyyy", // short date pattern
62 };
63 String[] dateTimePatterns = new String[] {
64 "{1}, {0}" // date-time pattern
65 };
66
67 return new Object[][] {
68 { "MonthNames",
69 new String[] {
70 "\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21", // january
71 "\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c", // february
72 "\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21", // march
73 "\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19", // april
74 "\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21", // may
75 "\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19", // june
76 "\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21", // july
77 "\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21", // august
78 "\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19", // september
79 "\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21", // october
80 "\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19", // november
81 "\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21", // december
82 "" // month 13 if applicable
83 }
110 "\u0e27\u0e31\u0e19\u0e40\u0e2a\u0e32\u0e23\u0e4c" // Saturday
111 }
112 },
113 { "DayAbbreviations",
114 new String[] {
115 "\u0e2d\u0e32.", // abb Sunday
116 "\u0e08.", // abb Monday
117 "\u0e2d.", // abb Tuesday
118 "\u0e1e.", // abb Wednesday
119 "\u0e1e\u0e24.", // abb Thursday
120 "\u0e28.", // abb Friday
121 "\u0e2a." // abb Saturday
122 }
123 },
124 { "AmPmMarkers",
125 new String[] {
126 "\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07", // am marker
127 "\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07" // pm marker
128 }
129 },
130 { "buddhist.Eras",
131 new String[] { // era strings
132 "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
133 "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
134 }
135 },
136 { "buddhist.short.Eras",
137 new String[] { // era strings
138 "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
139 "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
140 }
141 },
142 { "Eras",
143 new String[] { // era strings
144 "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
145 "\u0e04.\u0e28."
146 }
147 },
148 { "buddhist.TimePatterns",
149 timePatterns
150 },
151 { "buddhist.DatePatterns",
152 datePatterns
153 },
154 { "buddhist.DateTimePatterns",
155 dateTimePatterns
156 },
157 { "TimePatterns",
158 timePatterns
159 },
160 { "DatePatterns",
161 datePatterns
162 },
163 { "DateTimePatterns",
164 dateTimePatterns
165 },
166 { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
167 };
168 }
169 }
|