src/share/classes/sun/text/resources/th/FormatData_th.java

Print this page




  59  * File(s) or Software that the data or software has been modified.
  60  *
  61  * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
  62  * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  63  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
  64  * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
  65  * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
  66  * CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  67  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  68  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  69  * OF THE DATA FILES OR SOFTWARE.
  70  *
  71  * Except as contained in this notice, the name of a copyright holder shall not
  72  * be used in advertising or otherwise to promote the sale, use or other
  73  * dealings in these Data Files or Software without prior written authorization
  74  * of the copyright holder.
  75  */
  76 
  77 package sun.text.resources.th;
  78 
  79 import java.util.ListResourceBundle;
  80 
  81 public class FormatData_th extends ListResourceBundle {
  82     /**
  83      * Overrides ListResourceBundle
  84      */
  85     protected final Object[][] getContents() {
  86         String[] timePatterns = new String[] {
  87             "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35 'ss' \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35'", // full time pattern
  88             "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35'", // long time pattern
  89             "H:mm:ss", // medium time pattern
  90             "H:mm' \u0e19.'",  // short time pattern (modified)  -- add ' \u0e19.'
  91                                // (it means something like "o'clock" in english)
  92         };
  93         String[] datePatterns = new String[] {
  94             "EEEE'\u0e17\u0e35\u0e48 'd MMMM G yyyy", // full date pattern
  95             "d MMMM yyyy", // long date pattern
  96             "d MMM yyyy", // medium date pattern
  97             "d/M/yyyy", // short date pattern
  98         };
  99         String[] dateTimePatterns = new String[] {
 100             "{1}, {0}" // date-time pattern
 101         };
 102 
 103         return new Object[][] {


 118                     "" // month 13 if applicable
 119                 }
 120             },
 121             { "MonthAbbreviations",
 122                 new String[] {
 123                     "\u0e21.\u0e04.", // abb january
 124                     "\u0e01.\u0e1e.", // abb february
 125                     "\u0e21\u0e35.\u0e04.", // abb march
 126                     "\u0e40\u0e21.\u0e22.", // abb april
 127                     "\u0e1e.\u0e04.", // abb may
 128                     "\u0e21\u0e34.\u0e22.", // abb june
 129                     "\u0e01.\u0e04.", // abb july
 130                     "\u0e2a.\u0e04.", // abb august
 131                     "\u0e01.\u0e22.", // abb september
 132                     "\u0e15.\u0e04.", // abb october
 133                     "\u0e1e.\u0e22.", // abb november
 134                     "\u0e18.\u0e04.", // abb december
 135                     "" // abb month 13 if applicable
 136                 }
 137             },

















 138             { "standalone.MonthNarrows",
 139                 new String[] {
 140                     "\u0e21.\u0e04.",
 141                     "\u0e01.\u0e1e.",
 142                     "\u0e21\u0e35.\u0e04.",
 143                     "\u0e40\u0e21.\u0e22.",
 144                     "\u0e1e.\u0e04.",
 145                     "\u0e21\u0e34.\u0e22.",
 146                     "\u0e01.\u0e04.",
 147                     "\u0e2a.\u0e04.",
 148                     "\u0e01.\u0e22.",
 149                     "\u0e15.\u0e04.",
 150                     "\u0e1e.\u0e22.",
 151                     "\u0e18.\u0e04.",
 152                     "",
 153                 }
 154             },
 155             { "DayNames",
 156                 new String[] {
 157                     "\u0e27\u0e31\u0e19\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c", // Sunday


 192                 }
 193             },
 194             { "buddhist.Eras",
 195                 new String[] { // era strings
 196                     "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
 197                     "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
 198                 }
 199             },
 200             { "buddhist.short.Eras",
 201                 new String[] { // era strings
 202                     "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
 203                     "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
 204                 }
 205             },
 206             { "Eras",
 207                 new String[] { // era strings
 208                     "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
 209                     "\u0e04.\u0e28."
 210                 }
 211             },






 212             { "narrow.Eras",
 213                 new String[] {
 214                     "\u0e01\u0e48\u0e2d\u0e19 \u0e04.\u0e28.",
 215                     "\u0e04.\u0e28.",
 216                 }
 217             },
 218             { "buddhist.TimePatterns",
 219                 timePatterns






 220             },
 221             { "cldr.buddhist.DatePatterns",
 222                 new String[] {
 223                     "EEEE\u0e17\u0e35\u0e48 d MMMM G y",
 224                     "d MMMM y",
 225                     "d MMM y",
 226                     "d/M/yyyy",

 227                 }
 228             },



 229             { "buddhist.DatePatterns",
 230                 datePatterns
 231             },
 232             { "buddhist.DateTimePatterns",
 233                 dateTimePatterns
 234             },
 235             { "TimePatterns",
 236                 timePatterns
 237             },
 238             { "DatePatterns",
 239                 datePatterns
 240             },
 241             { "DateTimePatterns",
 242                 dateTimePatterns
 243             },
 244             { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
 245             { "cldr.japanese.DatePatterns",
 246                 new String[] {
 247                     "EEEE\u0e17\u0e35\u0e48 d MMMM \u0e1b\u0e35G\u0e17\u0e35\u0e48 y",
 248                     "d MMMM \u0e1b\u0e35G y",
 249                     "d MMM G y",
 250                     "d/M/yy",
 251                 }
 252             },
 253             { "cldr.roc.DatePatterns",
 254                 new String[] {
 255                     "EEEE\u0e17\u0e35\u0e48 d MMMM \u0e1b\u0e35G\u0e17\u0e35\u0e48 y",
 256                     "d MMMM \u0e1b\u0e35G y",
 257                     "d MMM G y",
 258                     "d/M/yy",
 259                 }
 260             },
 261             { "roc.DatePatterns",
 262                 new String[] {
 263                     "EEEE\u0e17\u0e35\u0e48 d MMMM \u0e1b\u0e35GGGG\u0e17\u0e35\u0e48 y",
 264                     "d MMMM \u0e1b\u0e35GGGG y",
 265                     "d MMM GGGG y",
 266                     "d/M/yy",
 267                 }
 268             },
 269             { "islamic.MonthNames",
 270                 new String[] {
 271                     "\u0e21\u0e38\u0e2e\u0e30\u0e23\u0e4c\u0e23\u0e2d\u0e21",
 272                     "\u0e0b\u0e2d\u0e1f\u0e32\u0e23\u0e4c",
 273                     "\u0e23\u0e2d\u0e1a\u0e35 I",
 274                     "\u0e23\u0e2d\u0e1a\u0e35 II",
 275                     "\u0e08\u0e38\u0e21\u0e32\u0e14\u0e32 I",
 276                     "\u0e08\u0e38\u0e21\u0e32\u0e14\u0e32 II",
 277                     "\u0e23\u0e2d\u0e08\u0e31\u0e1a",
 278                     "\u0e0a\u0e30\u0e2d\u0e30\u0e1a\u0e32\u0e19",
 279                     "\u0e23\u0e2d\u0e21\u0e30\u0e14\u0e2d\u0e19",
 280                     "\u0e40\u0e0a\u0e32\u0e27\u0e31\u0e25",
 281                     "\u0e14\u0e2e\u0e38\u0e38\u0e2d\u0e31\u0e25\u0e01\u0e34\u0e14\u0e30\u0e2b\u0e4c",
 282                     "\u0e14\u0e2e\u0e38\u0e2d\u0e31\u0e25\u0e2e\u0e34\u0e08\u0e08\u0e30\u0e2b\u0e4c",
 283                     "",
 284                 }
 285             },
 286             { "islamic.long.Eras",
 287                 new String[] {
 288                     "",
 289                     "\u0e2e\u0e34\u0e08\u0e40\u0e23\u0e32\u0e30\u0e2b\u0e4c\u0e28\u0e31\u0e01\u0e23\u0e32\u0e0a",
 290                 }
 291             },
 292             { "islamic.Eras",
 293                 new String[] {
 294                     "",
 295                     "\u0e2e.\u0e28.",
 296                 }
 297             },
 298             { "calendarname.islamic-civil", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e2d\u0e34\u0e2a\u0e25\u0e32\u0e21\u0e0b\u0e35\u0e27\u0e34\u0e25" },
 299             { "calendarname.islamicc", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e2d\u0e34\u0e2a\u0e25\u0e32\u0e21\u0e0b\u0e35\u0e27\u0e34\u0e25" },
 300             { "calendarname.islamic", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e2d\u0e34\u0e2a\u0e25\u0e32\u0e21" },
 301             { "calendarname.japanese", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e0d\u0e35\u0e48\u0e1b\u0e38\u0e48\u0e19" },
 302             { "calendarname.gregorian", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e40\u0e01\u0e23\u0e01\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e19" },
 303             { "calendarname.gregory", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e40\u0e01\u0e23\u0e01\u0e2d\u0e40\u0e23\u0e35\u0e22\u0e19" },
 304             { "calendarname.roc", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e44\u0e15\u0e49\u0e2b\u0e27\u0e31\u0e19" },
 305             { "calendarname.buddhist", "\u0e1b\u0e0f\u0e34\u0e17\u0e34\u0e19\u0e1e\u0e38\u0e17\u0e18" },
 306             { "field.era", "\u0e2a\u0e21\u0e31\u0e22" },
 307             { "field.year", "\u0e1b\u0e35" },
 308             { "field.month", "\u0e40\u0e14\u0e37\u0e2d\u0e19" },
 309             { "field.week", "\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c" },
 310             { "field.weekday", "\u0e27\u0e31\u0e19\u0e43\u0e19\u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c" },
 311             { "field.dayperiod", "\u0e0a\u0e48\u0e27\u0e07\u0e27\u0e31\u0e19" },
 312             { "field.hour", "\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07" },
 313             { "field.minute", "\u0e19\u0e32\u0e17\u0e35" },
 314             { "field.second", "\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35" },
 315             { "field.zone", "\u0e40\u0e02\u0e15" },
 316         };
 317     }
 318 }


  59  * File(s) or Software that the data or software has been modified.
  60  *
  61  * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
  62  * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  63  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
  64  * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
  65  * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
  66  * CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  67  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  68  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  69  * OF THE DATA FILES OR SOFTWARE.
  70  *
  71  * Except as contained in this notice, the name of a copyright holder shall not
  72  * be used in advertising or otherwise to promote the sale, use or other
  73  * dealings in these Data Files or Software without prior written authorization
  74  * of the copyright holder.
  75  */
  76 
  77 package sun.text.resources.th;
  78 
  79 import sun.util.resources.ParallelListResourceBundle;
  80 
  81 public class FormatData_th extends ParallelListResourceBundle {
  82     /**
  83      * Overrides ParallelListResourceBundle
  84      */
  85     protected final Object[][] getContents() {
  86         String[] timePatterns = new String[] {
  87             "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35 'ss' \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35'", // full time pattern
  88             "H' \u0e19\u0e32\u0e2c\u0e34\u0e01\u0e32 'm' \u0e19\u0e32\u0e17\u0e35'", // long time pattern
  89             "H:mm:ss", // medium time pattern
  90             "H:mm' \u0e19.'",  // short time pattern (modified)  -- add ' \u0e19.'
  91                                // (it means something like "o'clock" in english)
  92         };
  93         String[] datePatterns = new String[] {
  94             "EEEE'\u0e17\u0e35\u0e48 'd MMMM G yyyy", // full date pattern
  95             "d MMMM yyyy", // long date pattern
  96             "d MMM yyyy", // medium date pattern
  97             "d/M/yyyy", // short date pattern
  98         };
  99         String[] dateTimePatterns = new String[] {
 100             "{1}, {0}" // date-time pattern
 101         };
 102 
 103         return new Object[][] {


 118                     "" // month 13 if applicable
 119                 }
 120             },
 121             { "MonthAbbreviations",
 122                 new String[] {
 123                     "\u0e21.\u0e04.", // abb january
 124                     "\u0e01.\u0e1e.", // abb february
 125                     "\u0e21\u0e35.\u0e04.", // abb march
 126                     "\u0e40\u0e21.\u0e22.", // abb april
 127                     "\u0e1e.\u0e04.", // abb may
 128                     "\u0e21\u0e34.\u0e22.", // abb june
 129                     "\u0e01.\u0e04.", // abb july
 130                     "\u0e2a.\u0e04.", // abb august
 131                     "\u0e01.\u0e22.", // abb september
 132                     "\u0e15.\u0e04.", // abb october
 133                     "\u0e1e.\u0e22.", // abb november
 134                     "\u0e18.\u0e04.", // abb december
 135                     "" // abb month 13 if applicable
 136                 }
 137             },
 138             { "MonthNarrows",
 139                 new String[] {
 140                     "\u0e21.\u0e04.",
 141                     "\u0e01.\u0e1e.",
 142                     "\u0e21\u0e35.\u0e04.",
 143                     "\u0e40\u0e21.\u0e22.",
 144                     "\u0e1e.\u0e04.",
 145                     "\u0e21\u0e34.\u0e22",
 146                     "\u0e01.\u0e04.",
 147                     "\u0e2a.\u0e04.",
 148                     "\u0e01.\u0e22.",
 149                     "\u0e15.\u0e04.",
 150                     "\u0e1e.\u0e22.",
 151                     "\u0e18.\u0e04.",
 152                     "",
 153                 }
 154             },
 155             { "standalone.MonthNarrows",
 156                 new String[] {
 157                     "\u0e21.\u0e04.",
 158                     "\u0e01.\u0e1e.",
 159                     "\u0e21\u0e35.\u0e04.",
 160                     "\u0e40\u0e21.\u0e22.",
 161                     "\u0e1e.\u0e04.",
 162                     "\u0e21\u0e34.\u0e22.",
 163                     "\u0e01.\u0e04.",
 164                     "\u0e2a.\u0e04.",
 165                     "\u0e01.\u0e22.",
 166                     "\u0e15.\u0e04.",
 167                     "\u0e1e.\u0e22.",
 168                     "\u0e18.\u0e04.",
 169                     "",
 170                 }
 171             },
 172             { "DayNames",
 173                 new String[] {
 174                     "\u0e27\u0e31\u0e19\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c", // Sunday


 209                 }
 210             },
 211             { "buddhist.Eras",
 212                 new String[] { // era strings
 213                     "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
 214                     "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
 215                 }
 216             },
 217             { "buddhist.short.Eras",
 218                 new String[] { // era strings
 219                     "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
 220                     "\u0E1E.\u0E28." // Thai calendar requires equivalent of B.E., Buddhist Era
 221                 }
 222             },
 223             { "Eras",
 224                 new String[] { // era strings
 225                     "\u0e1b\u0e35\u0e01\u0e48\u0e2d\u0e19\u0e04\u0e23\u0e34\u0e2a\u0e15\u0e4c\u0e01\u0e32\u0e25\u0e17\u0e35\u0e48",
 226                     "\u0e04.\u0e28."
 227                 }
 228             },
 229             { "short.Eras",
 230                 new String[] {
 231                     "\u0e01\u0e48\u0e2d\u0e19 \u0e04.\u0e28.",
 232                     "\u0e04.\u0e28.",
 233                 }
 234             },
 235             { "narrow.Eras",
 236                 new String[] {
 237                     "\u0e01\u0e48\u0e2d\u0e19 \u0e04.\u0e28.",
 238                     "\u0e04.\u0e28.",
 239                 }
 240             },
 241             { "japanese.Eras",
 242                 new String[] {
 243                     "\u0e04.\u0e28.",
 244                     "\u0e40\u0e21\u0e08\u0e34",
 245                     "\u0e17\u0e30\u0e2d\u0e34\u0e42\u0e0a",
 246                     "\u0e42\u0e0a\u0e27\u0e30",
 247                     "\u0e40\u0e2e\u0e40\u0e0b",
 248                 }
 249             },
 250             { "japanese.short.Eras",
 251                 new String[] {
 252                     "\u0e04.\u0e28.",
 253                     "\u0e21",
 254                     "\u0e17",
 255                     "\u0e0a",
 256                     "\u0e2e",
 257                 }
 258             },
 259             { "buddhist.TimePatterns",
 260                 timePatterns
 261             },
 262             { "buddhist.DatePatterns",
 263                 datePatterns
 264             },
 265             { "buddhist.DateTimePatterns",
 266                 dateTimePatterns
 267             },
 268             { "TimePatterns",
 269                 timePatterns
 270             },
 271             { "DatePatterns",
 272                 datePatterns
 273             },
 274             { "DateTimePatterns",
 275                 dateTimePatterns
 276             },
 277             { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },







































































 278         };
 279     }
 280 }