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 } 80 }, 81 { "MonthAbbreviations", 82 new String[] { 83 "\u0e21.\u0e04.", // abb january 84 "\u0e01.\u0e1e.", // abb february 85 "\u0e21\u0e35.\u0e04.", // abb march 86 "\u0e40\u0e21.\u0e22.", // abb april 87 "\u0e1e.\u0e04.", // abb may 88 "\u0e21\u0e34.\u0e22.", // abb june 89 "\u0e01.\u0e04.", // abb july 90 "\u0e2a.\u0e04.", // abb august 91 "\u0e01.\u0e22.", // abb september 92 "\u0e15.\u0e04.", // abb october 93 "\u0e1e.\u0e22.", // abb november 94 "\u0e18.\u0e04.", // abb december 95 "" // abb month 13 if applicable 96 } 97 }, 98 { "DayNames", 99 new String[] { 100 "\u0e27\u0e31\u0e19\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c", // Sunday 101 "\u0e27\u0e31\u0e19\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c", // Monday 102 "\u0e27\u0e31\u0e19\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23", // Tuesday 103 "\u0e27\u0e31\u0e19\u0e1e\u0e38\u0e18", // Wednesday 104 "\u0e27\u0e31\u0e19\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35", // Thursday 105 "\u0e27\u0e31\u0e19\u0e28\u0e38\u0e01\u0e23\u0e4c", // Friday 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 }