feat(jdk8): move files to new folder to avoid resources compiled.

This commit is contained in:
2025-09-07 15:25:52 +08:00
parent 3f0047bf6f
commit 8c35cfb1c0
17415 changed files with 217 additions and 213 deletions

View File

@@ -0,0 +1,72 @@
/*
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
*/
/*
* Licensed Materials - Property of IBM
*
* (C) Copyright IBM Corp. 1999 All Rights Reserved.
* (C) IBM Corp. 1997-1998. All Rights Reserved.
*
* The program is provided "as is" without any warranty express or
* implied, including the warranty of non-infringement and the implied
* warranties of merchantibility and fitness for a particular purpose.
* IBM will not be liable for any damages suffered by you as a result
* of using the Program. In no event will IBM be liable for any
* special, indirect or consequential damages or lost profits even if
* IBM has been advised of the possibility of their occurrence. IBM
* will not be liable for any third party claims against you.
*/
package sun.text.resources.th;
import java.util.ListResourceBundle;
public class BreakIteratorInfo_th extends ListResourceBundle {
protected final Object[][] getContents() {
return new Object[][] {
// BreakIteratorClasses lists the class names to instantiate for each
// built-in type of BreakIterator
{"BreakIteratorClasses",
new String[] {
"RuleBasedBreakIterator", // character-break iterator class
"DictionaryBasedBreakIterator", // word-break iterator class
"DictionaryBasedBreakIterator", // line-break iterator class
"RuleBasedBreakIterator" // sentence-break iterator class
}
},
// Data filename for each break-iterator
{"WordData", "th/WordBreakIteratorData_th"},
{"LineData", "th/LineBreakIteratorData_th"},
// Dictionary filename for each dictionary-based break-iterator
{"WordDictionary", "th/thai_dict"},
{"LineDictionary", "th/thai_dict"},
};
}
}

View File

@@ -0,0 +1,116 @@
/*
* Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
*/
/*
* (C) Copyright IBM Corp. 1999 All Rights Reserved.
*/
/*
* Since JDK 1.5.0, this file no longer goes to runtime and is used at J2SE
* build phase in order to create [Word|Line]BreakIteratorData_th files which
* are used on runtime instead.
*/
package sun.text.resources.th;
import java.util.ListResourceBundle;
import java.util.MissingResourceException;
import java.net.URL;
public class BreakIteratorRules_th extends ListResourceBundle {
protected final Object[][] getContents() {
return new Object[][] {
{ "WordBreakRules",
// this rule breaks the iterator with mixed Thai and English
"<dictionary>=[\u0e01-\u0e2e\u0e30-\u0e3a\u0e40-\u0e44\u0e47-\u0e4e];"
+ "<ignore>=[:Mn::Me::Cf:^<dictionary>];"
+ "<paiyannoi>=[\u0e2f];"
+ "<maiyamok>=[\u0e46];"
+ "<danda>=[\u0964\u0965];"
+ "<kanji>=[\u3005\u4e00-\u9fa5\uf900-\ufa2d];"
+ "<kata>=[\u30a1-\u30fa];"
+ "<hira>=[\u3041-\u3094];"
+ "<cjk-diacrit>=[\u3099-\u309c];"
+ "<let>=[:L::Mc:^[<kanji><kata><hira><cjk-diacrit><dictionary>]];"
+ "<dgt>=[:N:];"
+ "<mid-word>=[:Pd:\u00ad\u2027\\\"\\\'\\.];"
+ "<mid-num>=[\\\"\\\'\\,\u066b\\.];"
+ "<pre-num>=[:Sc:\\#\\.^\u00a2];"
+ "<post-num>=[\\%\\&\u00a2\u066a\u2030\u2031];"
+ "<ls>=[\n\u000c\u2028\u2029];"
+ "<ws>=[:Zs:\t];"
+ "<word>=((<let><let>*(<mid-word><let><let>*)*){<danda>});"
+ "<number>=(<dgt><dgt>*(<mid-num><dgt><dgt>*)*);"
+ "<thai-etc>=<paiyannoi>\u0e25<paiyannoi>;"
+ ".;"
+ "{<word>}(<number><word>)*{<number>{<post-num>}};"
+ "<pre-num>(<number><word>)*{<number>{<post-num>}};"
+ "<dictionary><dictionary>*{{<paiyannoi>}<maiyamok>};"
+ "<dictionary><dictionary>*<paiyannoi>/([^[\u0e25<ignore>]]"
+ "|\u0e25[^[<paiyannoi><ignore>]]);"
+ "<thai-etc>;"
+ "<ws>*{\r}{<ls>};"
+ "[<kata><cjk-diacrit>]*;"
+ "[<hira><cjk-diacrit>]*;"
+ "<kanji>*;"
},
{ "LineBreakRules",
"<dictionary>=[\u0e01-\u0e2e\u0e30-\u0e3a\u0e40-\u0e44\u0e47-\u0e4e];" // this rule breaks the iterator with mixed Thai and English
+ "<ignore>=[:Mn::Me::Cf:^[<dictionary>]];"
+ "<danda>=[\u0964\u0965];"
+ "<break>=[\u0003\t\n\f\u2028\u2029];"
+ "<nbsp>=[\u00a0\u0f0c\u2007\u2011\u202f\ufeff];"
+ "<space>=[:Zs::Cc:^[<nbsp><break>\r]];"
+ "<dash>=[:Pd:\u00ad^<nbsp>];"
+ "<paiyannoi>=[\u0e2f];"
+ "<maiyamok>=[\u0e46];"
+ "<thai-etc>=(<paiyannoi>\u0e25<paiyannoi>);"
+ "<pre-word>=[:Sc::Ps::Pi:^\u00a2\\\"];"
+ "<post-word>=[:Pe::Pf:\\!\\%\\.\\,\\:\\;\\?\\\"\u00a2\u00b0\u066a\u2030-\u2034\u2103"
+ "\u2105\u2109\u3001\u3002\u3005\u3041\u3043\u3045\u3047\u3049\u3063"
+ "\u3083\u3085\u3087\u308e\u3099-\u309e\u30a1\u30a3\u30a5\u30a7\u30a9"
+ "\u30c3\u30e3\u30e5\u30e7\u30ee\u30f5\u30f6\u30fc-\u30fe\uff01\uff0e"
+ "\uff1f<maiyamok>];"
+ "<kanji>=[\u4e00-\u9fa5\uf900-\ufa2d\u3041-\u3094\u30a1-\u30fa^[<post-word><ignore>]];"
+ "<digit>=[:Nd::No:];"
+ "<mid-num>=[\\.\\,];"
+ "<char>=[^[<break><space><dash><kanji><nbsp><ignore><pre-word><post-word>"
+ "<mid-num>\r<danda><dictionary><paiyannoi><maiyamok>]];"
+ "<number>=([<pre-word><dash>]*<digit><digit>*(<mid-num><digit><digit>*)*);"
+ "<word-core>=(<char>*|<kanji>|<number>|<dictionary><dictionary>*|<thai-etc>);"
+ "<word-suffix>=((<dash><dash>*|<post-word>*)<space>*);"
+ "<word>=(<pre-word>*<word-core><word-suffix>);"
+ "<word>(<nbsp><nbsp>*<word>)*{({\r}{<break>}|<paiyannoi>\r{break}|<paiyannoi><break>)};"
+ "<word>(<nbsp><nbsp>*<word>)*<paiyannoi>/([^[\u0e25<ignore>]]|"
+ "\u0e25[^[<paiyannoi><ignore>]]);"
}
};
}
}

View File

@@ -0,0 +1,185 @@
/*
* Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
*/
/*
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
* (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
*
* The original version of this source code and documentation
* is copyrighted and owned by Taligent, Inc., a wholly-owned
* subsidiary of IBM. These materials are provided under terms
* of a License Agreement between Taligent and Sun. This technology
* is protected by multiple US and International patents.
*
* This notice and attribution to Taligent may not be removed.
* Taligent is a registered trademark of Taligent, Inc.
*
*/
package sun.text.resources.th;
import java.util.ListResourceBundle;
public class CollationData_th extends ListResourceBundle {
protected final Object[][] getContents() {
return new Object[][] {
{ "Rule",
"! " // First turn on the SE Asian Vowel/Consonant
// swapping rule
+ "& Z " // Put in all of the consonants, after Z
+ "< \u0E01 " // KO KAI
+ "< \u0E02 " // KHO KHAI
+ "< \u0E03 " // KHO KHUAT
+ "< \u0E04 " // KHO KHWAI
+ "< \u0E05 " // KHO KHON
+ "< \u0E06 " // KHO RAKHANG
+ "< \u0E07 " // NGO NGU
+ "< \u0E08 " // CHO CHAN
+ "< \u0E09 " // CHO CHING
+ "< \u0E0A " // CHO CHANG
+ "< \u0E0B " // SO SO
+ "< \u0E0C " // CHO CHOE
+ "< \u0E0D " // YO YING
+ "< \u0E0E " // DO CHADA
+ "< \u0E0F " // TO PATAK
+ "< \u0E10 " // THO THAN
+ "< \u0E11 " // THO NANGMONTHO
+ "< \u0E12 " // THO PHUTHAO
+ "< \u0E13 " // NO NEN
+ "< \u0E14 " // DO DEK
+ "< \u0E15 " // TO TAO
+ "< \u0E16 " // THO THUNG
+ "< \u0E17 " // THO THAHAN
+ "< \u0E18 " // THO THONG
+ "< \u0E19 " // NO NU
+ "< \u0E1A " // BO BAIMAI
+ "< \u0E1B " // PO PLA
+ "< \u0E1C " // PHO PHUNG
+ "< \u0E1D " // FO FA
+ "< \u0E1E " // PHO PHAN
+ "< \u0E1F " // FO FAN
+ "< \u0E20 " // PHO SAMPHAO
+ "< \u0E21 " // MO MA
+ "< \u0E22 " // YO YAK
+ "< \u0E23 " // RO RUA
+ "< \u0E24 " // RU
+ "< \u0E25 " // LO LING
+ "< \u0E26 " // LU
+ "< \u0E27 " // WO WAEN
+ "< \u0E28 " // SO SALA
+ "< \u0E29 " // SO RUSI
+ "< \u0E2A " // SO SUA
+ "< \u0E2B " // HO HIP
+ "< \u0E2C " // LO CHULA
+ "< \u0E2D " // O ANG
+ "< \u0E2E " // HO NOKHUK
//
// Normal vowels
//
+ "< \u0E4D " // NIKHAHIT
+ "< \u0E30 " // SARA A
+ "< \u0E31 " // MAI HAN-AKAT
+ "< \u0E32 " // SARA AA
// Normalizer will decompose this character to \u0e4d\u0e32.
+ "< \u0E33 = \u0E4D\u0E32 " // SARA AM
+ "< \u0E34 " // SARA I
+ "< \u0E35 " // SARA II
+ "< \u0E36 " // SARA UE
+ "< \u0E37 " // SARA UEE
+ "< \u0E38 " // SARA U
+ "< \u0E39 " // SARA UU
//
// Preceding vowels
//
+ "< \u0E40 " // SARA E
+ "< \u0E41 " // SARA AE
+ "< \u0E42 " // SARA O
+ "< \u0E43 " // SARA AI MAIMUAN
+ "< \u0E44 " // SARA AI MAIMALAI
//according to CLDR, it's after 0e44
+ "< \u0E3A " // PHINTHU
// This rare symbol comes after all characters.
+ "< \u0E45 " // LAKKHANGYAO
+ "& \u0E32 , \0E45 " // According to CLDR, 0E45 is after 0E32 in tertiary level
// Below are thai puntuation marks and Tonal(Accent) marks. According to CLDR 1.9 and
// ISO/IEC 14651, Annex C, C.2.1 Thai ordering principles, 0E2F to 0E5B are punctuaion marks that need to be ignored
// in the first three leveles. 0E4E to 0E4B are tonal marks to be compared in secondary level.
// In real implementation, set punctuation marks in tertiary as there is no fourth level in Java.
// Set all these special marks after \u0301, the accute accent.
+ "& \u0301 " // acute accent
//punctuation marks
+ ", \u0E2F " // PAIYANNOI (ellipsis, abbreviation)
+ ", \u0E46 " // MAIYAMOK
+ ", \u0E4F " // FONGMAN
+ ", \u0E5A " // ANGKHANKHU
+ ", \u0E5B " // KHOMUT
//tonal marks
+ "; \u0E4E " // YAMAKKAN
+ "; \u0E4C " // THANTHAKHAT
+ "; \u0E47 " // MAITAIKHU
+ "; \u0E48 " // MAI EK
+ "; \u0E49 " // MAI THO
+ "; \u0E4A " // MAI TRI
+ "; \u0E4B " // MAI CHATTAWA
//
// Digits are equal to their corresponding Arabic digits in the first level
//
+ "& 0 = \u0E50 " // DIGIT ZERO
+ "& 1 = \u0E51 " // DIGIT ONE
+ "& 2 = \u0E52 " // DIGIT TWO
+ "& 3 = \u0E53 " // DIGIT THREE
+ "& 4 = \u0E54 " // DIGIT FOUR
+ "& 5 = \u0E55 " // DIGIT FIVE
+ "& 6 = \u0E56 " // DIGIT SIX
+ "& 7 = \u0E57 " // DIGIT SEVEN
+ "& 8 = \u0E58 " // DIGIT EIGHT
+ "& 9 = \u0E59 " // DIGIT NINE
}
};
}
}

View File

@@ -0,0 +1,282 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
* (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
*
* The original version of this source code and documentation
* is copyrighted and owned by Taligent, Inc., a wholly-owned
* subsidiary of IBM. These materials are provided under terms
* of a License Agreement between Taligent and Sun. This technology
* is protected by multiple US and International patents.
*
* This notice and attribution to Taligent may not be removed.
* Taligent is a registered trademark of Taligent, Inc.
*
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
package sun.text.resources.th;
import sun.util.resources.ParallelListResourceBundle;
public class FormatData_th extends ParallelListResourceBundle {
/**
* Overrides ParallelListResourceBundle
*/
protected final Object[][] getContents() {
String[] timePatterns = new String[] {
"H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35 'ss' \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35'", // full time pattern
"H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35'", // long time pattern
"H:mm:ss", // medium time pattern
"H:mm' \u0e19.'", // short time pattern (modified) -- add ' \u0e19.'
// (it means something like "o'clock" in english)
};
String[] datePatterns = new String[] {
"EEEE'\u0e17\u0e35\u0e48 'd MMMM G yyyy", // full date pattern
"d MMMM yyyy", // long date pattern
"d MMM yyyy", // medium date pattern
"d/M/yyyy", // short date pattern
};
String[] dateTimePatterns = new String[] {
"{1}, {0}" // date-time pattern
};
return new Object[][] {
{ "MonthNames",
new String[] {
"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21", // january
"\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c", // february
"\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21", // march
"\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19", // april
"\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21", // may
"\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19", // june
"\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21", // july
"\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21", // august
"\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19", // september
"\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21", // october
"\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19", // november
"\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21", // december
"" // month 13 if applicable
}
},
{ "MonthAbbreviations",
new String[] {
"\u0e21.\u0e04.", // abb january
"\u0e01.\u0e1e.", // abb february
"\u0e21\u0e35.\u0e04.", // abb march
"\u0e40\u0e21.\u0e22.", // abb april
"\u0e1e.\u0e04.", // abb may
"\u0e21\u0e34.\u0e22.", // abb june
"\u0e01.\u0e04.", // abb july
"\u0e2a.\u0e04.", // abb august
"\u0e01.\u0e22.", // abb september
"\u0e15.\u0e04.", // abb october
"\u0e1e.\u0e22.", // abb november
"\u0e18.\u0e04.", // abb december
"" // abb month 13 if applicable
}
},
{ "MonthNarrows",
new String[] {
"\u0e21.\u0e04.",
"\u0e01.\u0e1e.",
"\u0e21\u0e35.\u0e04.",
"\u0e40\u0e21.\u0e22.",
"\u0e1e.\u0e04.",
"\u0e21\u0e34.\u0e22",
"\u0e01.\u0e04.",
"\u0e2a.\u0e04.",
"\u0e01.\u0e22.",
"\u0e15.\u0e04.",
"\u0e1e.\u0e22.",
"\u0e18.\u0e04.",
"",
}
},
{ "standalone.MonthNarrows",
new String[] {
"\u0e21.\u0e04.",
"\u0e01.\u0e1e.",
"\u0e21\u0e35.\u0e04.",
"\u0e40\u0e21.\u0e22.",
"\u0e1e.\u0e04.",
"\u0e21\u0e34.\u0e22.",
"\u0e01.\u0e04.",
"\u0e2a.\u0e04.",
"\u0e01.\u0e22.",
"\u0e15.\u0e04.",
"\u0e1e.\u0e22.",
"\u0e18.\u0e04.",
"",
}
},
{ "DayNames",
new String[] {
"\u0e27\u0e31\u0e19\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c", // Sunday
"\u0e27\u0e31\u0e19\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c", // Monday
"\u0e27\u0e31\u0e19\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23", // Tuesday
"\u0e27\u0e31\u0e19\u0e1e\u0e38\u0e18", // Wednesday
"\u0e27\u0e31\u0e19\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35", // Thursday
"\u0e27\u0e31\u0e19\u0e28\u0e38\u0e01\u0e23\u0e4c", // Friday
"\u0e27\u0e31\u0e19\u0e40\u0e2a\u0e32\u0e23\u0e4c" // Saturday
}
},
{ "DayAbbreviations",
new String[] {
"\u0e2d\u0e32.", // abb Sunday
"\u0e08.", // abb Monday
"\u0e2d.", // abb Tuesday
"\u0e1e.", // abb Wednesday
"\u0e1e\u0e24.", // abb Thursday
"\u0e28.", // abb Friday
"\u0e2a." // abb Saturday
}
},
{ "DayNarrows",
new String[] {
"\u0e2d",
"\u0e08",
"\u0e2d",
"\u0e1e",
"\u0e1e",
"\u0e28",
"\u0e2a",
}
},
{ "AmPmMarkers",
new String[] {
"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07", // am marker
"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07" // pm marker
}
},
{ "buddhist.Eras",
new String[] { // era strings
"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
"\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
}
},
{ "buddhist.short.Eras",
new String[] { // era strings
"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
"\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
}
},
{ "Eras",
new String[] { // era strings
"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
"\u0e04.\u0e28."
}
},
{ "short.Eras",
new String[] {
"\u0e01\u0e48\u0e2d\u0e19 \u0e04.\u0e28.",
"\u0e04.\u0e28.",
}
},
{ "narrow.Eras",
new String[] {
"\u0e01\u0e48\u0e2d\u0e19 \u0e04.\u0e28.",
"\u0e04.\u0e28.",
}
},
{ "japanese.Eras",
new String[] {
"\u0e04.\u0e28.",
"\u0e40\u0e21\u0e08\u0e34",
"\u0e17\u0e30\u0e2d\u0e34\u0e42\u0e0a",
"\u0e42\u0e0a\u0e27\u0e30",
"\u0e40\u0e2e\u0e40\u0e0b",
"\u0e40\u0e23\u0e27\u0e30",
}
},
{ "japanese.short.Eras",
new String[] {
"\u0e04.\u0e28.",
"\u0e21",
"\u0e17",
"\u0e0a",
"\u0e2e",
"R",
}
},
{ "buddhist.TimePatterns",
timePatterns
},
{ "buddhist.DatePatterns",
datePatterns
},
{ "buddhist.DateTimePatterns",
dateTimePatterns
},
{ "TimePatterns",
timePatterns
},
{ "DatePatterns",
datePatterns
},
{ "DateTimePatterns",
dateTimePatterns
},
{ "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
};
}
}

View File

@@ -0,0 +1,61 @@
/*
* Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
* (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
*
* The original version of this source code and documentation
* is copyrighted and owned by Taligent, Inc., a wholly-owned
* subsidiary of IBM. These materials are provided under terms
* of a License Agreement between Taligent and Sun. This technology
* is protected by multiple US and International patents.
*
* This notice and attribution to Taligent may not be removed.
* Taligent is a registered trademark of Taligent, Inc.
*
*/
package sun.text.resources.th;
import sun.util.resources.ParallelListResourceBundle;
public class FormatData_th_TH extends ParallelListResourceBundle {
/**
* Overrides ParallelListResourceBundle
*/
protected final Object[][] getContents() {
return new Object[][] {
{ "NumberPatterns",
new String[] {
"#,##0.###;-#,##0.###", // decimal pattern
"\u00a4#,##0.00;\u00a4-#,##0.00", // currency pattern
"#,##0%" // percent pattern
}
},
};
}
}

View File

@@ -0,0 +1,245 @@
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/*
* COPYRIGHT AND PERMISSION NOTICE
*
* Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
* the Terms of Use in http://www.unicode.org/copyright.html.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of the Unicode data files and any associated documentation (the "Data
* Files") or Unicode software and any associated documentation (the
* "Software") to deal in the Data Files or Software without restriction,
* including without limitation the rights to use, copy, modify, merge,
* publish, distribute, and/or sell copies of the Data Files or Software, and
* to permit persons to whom the Data Files or Software are furnished to do so,
* provided that (a) the above copyright notice(s) and this permission notice
* appear with all copies of the Data Files or Software, (b) both the above
* copyright notice(s) and this permission notice appear in associated
* documentation, and (c) there is clear notice in each modified Data File or
* in the Software as well as in the documentation associated with the Data
* File(s) or Software that the data or software has been modified.
*
* THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
* KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
* THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
* INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
* CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
* OF THE DATA FILES OR SOFTWARE.
*
* Except as contained in this notice, the name of a copyright holder shall not
* be used in advertising or otherwise to promote the sale, use or other
* dealings in these Data Files or Software without prior written authorization
* of the copyright holder.
*/
// Note: this file has been generated by a tool.
package sun.text.resources.th;
import sun.util.resources.OpenListResourceBundle;
public class JavaTimeSupplementary_th extends OpenListResourceBundle {
@Override
protected final Object[][] getContents() {
return new Object[][] {
{ "QuarterAbbreviations",
new String[] {
"Q1",
"Q2",
"Q3",
"Q4",
}
},
{ "QuarterNames",
new String[] {
"\u0e44\u0e15\u0e23\u0e21\u0e32\u0e2a 1",
"\u0e44\u0e15\u0e23\u0e21\u0e32\u0e2a 2",
"\u0e44\u0e15\u0e23\u0e21\u0e32\u0e2a 3",
"\u0e44\u0e15\u0e23\u0e21\u0e32\u0e2a 4",
}
},
{ "QuarterNarrows",
new String[] {
"1",
"2",
"3",
"4",
}
},
{ "calendarname.buddhist",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e1e\u0e38\u0e17\u0e18" },
{ "calendarname.gregorian",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e40\u0e01\u0e23\u0e01\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e19" },
{ "calendarname.gregory",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e40\u0e01\u0e23\u0e01\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e19" },
{ "calendarname.islamic",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e2d\u0e34\u0e2a\u0e25\u0e32\u0e21" },
{ "calendarname.islamic-civil",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e2d\u0e34\u0e2a\u0e25\u0e32\u0e21\u0e0b\u0e35\u0e27\u0e34\u0e25" },
{ "calendarname.islamicc",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e2d\u0e34\u0e2a\u0e25\u0e32\u0e21\u0e0b\u0e35\u0e27\u0e34\u0e25" },
{ "calendarname.japanese",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e0d\u0e35\u0e48\u0e1b\u0e38\u0e48\u0e19" },
{ "calendarname.roc",
"\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e44\u0e15\u0e49\u0e2b\u0e27\u0e31\u0e19" },
{ "field.dayperiod",
"\u0e0a\u0e48\u0e27\u0e07\u0e27\u0e31\u0e19" },
{ "field.era",
"\u0e2a\u0e21\u0e31\u0e22" },
{ "field.hour",
"\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07" },
{ "field.minute",
"\u0e19\u0e32\u0e17\u0e35" },
{ "field.month",
"\u0e40\u0e14\u0e37\u0e2d\u0e19" },
{ "field.second",
"\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35" },
{ "field.week",
"\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c" },
{ "field.weekday",
"\u0e27\u0e31\u0e19\u0e43\u0e19\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c" },
{ "field.year",
"\u0e1b\u0e35" },
{ "field.zone",
"\u0e40\u0e02\u0e15" },
{ "islamic.Eras",
new String[] {
"",
"\u0e2e.\u0e28.",
}
},
{ "islamic.MonthNames",
new String[] {
"\u0e21\u0e38\u0e2e\u0e30\u0e23\u0e4c\u0e23\u0e2d\u0e21",
"\u0e0b\u0e2d\u0e1f\u0e32\u0e23\u0e4c",
"\u0e23\u0e2d\u0e1a\u0e35 I",
"\u0e23\u0e2d\u0e1a\u0e35 II",
"\u0e08\u0e38\u0e21\u0e32\u0e14\u0e32 I",
"\u0e08\u0e38\u0e21\u0e32\u0e14\u0e32 II",
"\u0e23\u0e2d\u0e08\u0e31\u0e1a",
"\u0e0a\u0e30\u0e2d\u0e30\u0e1a\u0e32\u0e19",
"\u0e23\u0e2d\u0e21\u0e30\u0e14\u0e2d\u0e19",
"\u0e40\u0e0a\u0e32\u0e27\u0e31\u0e25",
"\u0e14\u0e2e\u0e38\u0e38\u0e2d\u0e31\u0e25\u0e01\u0e34\u0e14\u0e30\u0e2b\u0e4c",
"\u0e14\u0e2e\u0e38\u0e2d\u0e31\u0e25\u0e2e\u0e34\u0e08\u0e08\u0e30\u0e2b\u0e4c",
"",
}
},
{ "islamic.long.Eras",
new String[] {
"",
"\u0e2e\u0e34\u0e08\u0e40\u0e23\u0e32\u0e30\u0e2b\u0e4c\u0e28\u0e31\u0e01\u0e23\u0e32\u0e0a",
}
},
{ "islamic.short.Eras",
new String[] {
"",
"\u0e2e.\u0e28.",
}
},
{ "java.time.buddhist.DatePatterns",
new String[] {
"EEEE\u0e17\u0e35\u0e48 d MMMM G y",
"d MMMM y",
"d MMM y",
"d/M/yyyy",
}
},
{ "java.time.buddhist.long.Eras",
new String[] {
"BC",
"\u0e1e\u0e38\u0e17\u0e18\u0e28\u0e31\u0e01\u0e23\u0e32\u0e0a",
}
},
{ "java.time.buddhist.short.Eras",
new String[] {
"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
"\u0e1e.\u0e28.",
}
},
{ "java.time.japanese.DatePatterns",
new String[] {
"EEEE\u0e17\u0e35\u0e48 d MMMM \u0e1b\u0e35G\u0e17\u0e35\u0e48 y",
"d MMMM \u0e1b\u0e35G y",
"d MMM G y",
"d/M/yy",
}
},
{ "java.time.japanese.long.Eras",
new String[] {
"\u0e04.\u0e28.",
"\u0e40\u0e21\u0e08\u0e34",
"\u0e17\u0e30\u0e2d\u0e34\u0e42\u0e0a",
"\u0e42\u0e0a\u0e27\u0e30",
"\u0e40\u0e2e\u0e40\u0e0b",
"\u0e40\u0e23\u0e27\u0e30",
}
},
{ "java.time.japanese.short.Eras",
new String[] {
"\u0e04.\u0e28.",
"\u0e40\u0e21\u0e08\u0e34",
"\u0e17\u0e30\u0e2d\u0e34\u0e42\u0e0a",
"\u0e42\u0e0a\u0e27\u0e30",
"\u0e40\u0e2e\u0e40\u0e0b",
"\u0e40\u0e23\u0e27\u0e30",
}
},
{ "java.time.long.Eras",
new String[] {
"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e28\u0e31\u0e01\u0e23\u0e32\u0e0a",
"\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e28\u0e31\u0e01\u0e23\u0e32\u0e0a",
}
},
{ "java.time.roc.DatePatterns",
new String[] {
"EEEE\u0e17\u0e35\u0e48 d MMMM \u0e1b\u0e35G\u0e17\u0e35\u0e48 y",
"d MMMM \u0e1b\u0e35G y",
"d MMM G y",
"d/M/yy",
}
},
{ "java.time.short.Eras",
new String[] {
"\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
"\u0e04.\u0e28.",
}
},
{ "roc.DatePatterns",
new String[] {
"EEEE\u0e17\u0e35\u0e48 d MMMM \u0e1b\u0e35GGGG\u0e17\u0e35\u0e48 y",
"d MMMM \u0e1b\u0e35GGGG y",
"d MMM GGGG y",
"d/M/yy",
}
},
};
}
}