src/java.base/share/classes/sun/text/resources/JavaTimeSupplementary.java

Print this page


   1 /*
   2  * Copyright (c) 2013, 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  * COPYRIGHT AND PERMISSION NOTICE
  28  *
  29  * Copyright (C) 1991-2012 Unicode, Inc. All rights reserved. Distributed under
  30  * the Terms of Use in http://www.unicode.org/copyright.html.

  31  *
  32  * Permission is hereby granted, free of charge, to any person obtaining a copy
  33  * of the Unicode data files and any associated documentation (the "Data
  34  * Files") or Unicode software and any associated documentation (the
  35  * "Software") to deal in the Data Files or Software without restriction,
  36  * including without limitation the rights to use, copy, modify, merge,
  37  * publish, distribute, and/or sell copies of the Data Files or Software, and
  38  * to permit persons to whom the Data Files or Software are furnished to do so,
  39  * provided that (a) the above copyright notice(s) and this permission notice
  40  * appear with all copies of the Data Files or Software, (b) both the above
  41  * copyright notice(s) and this permission notice appear in associated
  42  * documentation, and (c) there is clear notice in each modified Data File or
  43  * in the Software as well as in the documentation associated with the Data
  44  * File(s) or Software that the data or software has been modified.


  45  *
  46  * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
  47  * KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  48  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
  49  * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS
  50  * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR
  51  * CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,

  52  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  53  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  54  * OF THE DATA FILES OR SOFTWARE.
  55  *
  56  * Except as contained in this notice, the name of a copyright holder shall not
  57  * be used in advertising or otherwise to promote the sale, use or other
  58  * dealings in these Data Files or Software without prior written authorization
  59  * of the copyright holder.
  60  */
  61 
  62 //  Note: this file has been generated by a tool.
  63 
  64 package sun.text.resources;
  65 
  66 import sun.util.resources.OpenListResourceBundle;
  67 
  68 public class JavaTimeSupplementary extends OpenListResourceBundle {
  69     @Override
  70     protected final Object[][] getContents() {















  71         return new Object[][] {
  72             { "QuarterAbbreviations",
  73                 new String[] {
  74                     "Q1",
  75                     "Q2",
  76                     "Q3",
  77                     "Q4",
  78                 }
  79             },
  80             { "QuarterNames",
  81                 new String[] {
  82                     "Q1",
  83                     "Q2",
  84                     "Q3",
  85                     "Q4",
  86                 }
  87             },
  88             { "QuarterNarrows",
  89                 new String[] {
  90                     "1",
  91                     "2",
  92                     "3",
  93                     "4",
  94                 }
  95             },
  96             { "calendarname.buddhist",
  97                 "Buddhist Calendar" },
  98             { "calendarname.gregorian",
  99                 "Gregorian Calendar" },
 100             { "calendarname.gregory",
 101                 "Gregorian Calendar" },
 102             { "calendarname.islamic",
 103                 "Islamic Calendar" },
 104             { "calendarname.islamic-civil",
 105                 "Islamic-Civil Calendar" },
 106             { "calendarname.islamicc",
 107                 "Islamic-Civil Calendar" },
 108             { "calendarname.japanese",
 109                 "Japanese Calendar" },
 110             { "calendarname.roc",
 111                 "Minguo Calendar" },
 112             { "field.dayperiod",
 113                 "Dayperiod" },
 114             { "field.era",
 115                 "Era" },
 116             { "field.hour",
 117                 "Hour" },
 118             { "field.minute",
 119                 "Minute" },
 120             { "field.month",
 121                 "Month" },
 122             { "field.second",
 123                 "Second" },
 124             { "field.week",
 125                 "Week" },
 126             { "field.weekday",
 127                 "Day of the Week" },
 128             { "field.year",
 129                 "Year" },
 130             { "field.zone",
 131                 "Zone" },






 132             { "islamic.DatePatterns",
 133                 new String[] {
 134                     "EEEE, MMMM d, y GGGG",
 135                     "MMMM d, y GGGG",
 136                     "MMM d, y GGGG",
 137                     "M/d/yy GGGG",

































 138                 }
 139             },
 140             { "islamic.Eras",
 141                 new String[] {
 142                     "",
 143                     "AH",
 144                 }
 145             },
 146             { "islamic.MonthAbbreviations",
 147                 new String[] {
 148                     "Muh.",
 149                     "Saf.",
 150                     "Rab. I",
 151                     "Rab. II",
 152                     "Jum. I",
 153                     "Jum. II",
 154                     "Raj.",
 155                     "Sha.",
 156                     "Ram.",
 157                     "Shaw.",


 161                 }
 162             },
 163             { "islamic.MonthNames",
 164                 new String[] {
 165                     "Muharram",
 166                     "Safar",
 167                     "Rabi\u02bb I",
 168                     "Rabi\u02bb II",
 169                     "Jumada I",
 170                     "Jumada II",
 171                     "Rajab",
 172                     "Sha\u02bbban",
 173                     "Ramadan",
 174                     "Shawwal",
 175                     "Dhu\u02bbl-Qi\u02bbdah",
 176                     "Dhu\u02bbl-Hijjah",
 177                     "",
 178                 }
 179             },
 180             { "islamic.MonthNarrows",










 181                 new String[] {
 182                     "1",
 183                     "2",
 184                     "3",
 185                     "4",
 186                     "5",
 187                     "6",
 188                     "7",
 189                     "8",
 190                     "9",
 191                     "10",
 192                     "11",
 193                     "12",
















 194                     "",

 195                 }
 196             },
 197             { "islamic.short.Eras",
 198                 new String[] {
 199                     "",
 200                     "AH",
 201                 }
 202             },
 203             { "java.time.buddhist.DatePatterns",
 204                 new String[] {
 205                     "EEEE, G y MMMM dd",
 206                     "G y MMMM d",
 207                     "G y MMM d",
 208                     "GGGGG yyyy-MM-dd",






 209                 }
 210             },
 211             { "java.time.buddhist.short.Eras",
 212                 new String[] {
 213                     "BC",
 214                     "B.E.",
 215                 }
 216             },
 217             { "java.time.islamic.DatePatterns",
 218                 new String[] {
 219                     "EEEE, MMMM d, y G",
 220                     "MMMM d, y G",
 221                     "MMM d, y G",
 222                     "M/d/yy G",
 223                 }
 224             },
 225             { "java.time.japanese.DatePatterns",
 226                 new String[] {
 227                     "G y MMMM d (EEEE)",
 228                     "G y MMMM d",
 229                     "G y MMM d",
 230                     "GGGGGy.MM.dd",
 231                 }
 232             },
 233             { "java.time.japanese.long.Eras",
 234                 new String[] {
 235                     "",
 236                     "Meiji",
 237                     "Taisho",
 238                     "Showa",
 239                     "Heisei",
 240                 }
 241             },
 242             { "java.time.japanese.short.Eras",
 243                 new String[] {
 244                     "",
 245                     "Meiji",
 246                     "Taisho",
 247                     "Showa",
 248                     "Heisei",
 249                 }
 250             },






 251             { "java.time.roc.DatePatterns",
 252                 new String[] {
 253                     "EEEE, G y MMMM dd",
 254                     "G y MMMM d",
 255                     "G y MMM d",
 256                     "GGGGG yyy-MM-dd",
 257                 }
 258             },
 259             { "java.time.short.Eras",
 260                 new String[] {
 261                     "BC",
 262                     "AD",
 263                 }
 264             },






 265             { "roc.DatePatterns",
 266                 new String[] {
 267                     "EEEE, GGGG y MMMM dd",
 268                     "GGGG y MMMM d",
 269                     "GGGG y MMM d",
 270                     "G yyy-MM-dd",






















 271                 }
 272             },
 273             { "roc.Eras",
 274                 new String[] {
 275                     "Before R.O.C.",
 276                     "R.O.C.",
 277                 }
 278             },














































































 279             { "roc.short.Eras",
 280                 new String[] {
 281                     "Before R.O.C.",
 282                     "R.O.C.",
 283                 }
 284             },
 285         };
 286     }
 287 }
   1 /*
   2  * Copyright (c) 2013, 2015, 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  * COPYRIGHT AND PERMISSION NOTICE
  28  *
  29  * Copyright (C) 1991-2015 Unicode, Inc. All rights reserved.
  30  * Distributed under the Terms of Use in 
  31  * http://www.unicode.org/copyright.html.
  32  *
  33  * Permission is hereby granted, free of charge, to any person obtaining
  34  * a copy of the Unicode data files and any associated documentation
  35  * (the "Data Files") or Unicode software and any associated documentation
  36  * (the "Software") to deal in the Data Files or Software
  37  * without restriction, including without limitation the rights to use,
  38  * copy, modify, merge, publish, distribute, and/or sell copies of
  39  * the Data Files or Software, and to permit persons to whom the Data Files
  40  * or Software are furnished to do so, provided that
  41  * (a) this copyright and permission notice appear with all copies 
  42  * of the Data Files or Software,
  43  * (b) this copyright and permission notice appear in associated 
  44  * documentation, and
  45  * (c) there is clear notice in each modified Data File or in the Software
  46  * as well as in the documentation associated with the Data File(s) or
  47  * Software that the data or software has been modified.
  48  *
  49  * THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF
  50  * ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  51  * WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  52  * NONINFRINGEMENT OF THIRD PARTY RIGHTS.
  53  * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS
  54  * NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL
  55  * DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
  56  * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  57  * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  58  * PERFORMANCE OF THE DATA FILES OR SOFTWARE.
  59  *
  60  * Except as contained in this notice, the name of a copyright holder
  61  * shall not be used in advertising or otherwise to promote the sale,
  62  * use or other dealings in these Data Files or Software without prior
  63  * written authorization of the copyright holder.
  64  */
  65 
  66 //  Note: this file has been generated by a tool.
  67 
  68 package sun.text.resources;
  69 
  70 import sun.util.resources.OpenListResourceBundle;
  71 
  72 public class JavaTimeSupplementary extends OpenListResourceBundle {
  73     @Override
  74     protected final Object[][] getContents() {
  75         final String[] rocMonthNarrows = {
  76             "1",
  77             "2",
  78             "3",
  79             "4",
  80             "5",
  81             "6",
  82             "7",
  83             "8",
  84             "9",
  85             "10",
  86             "11",
  87             "12",
  88             "",
  89         };
  90         return new Object[][] {
  91             { "QuarterAbbreviations",
  92                 new String[] {
  93                     "Q1",
  94                     "Q2",
  95                     "Q3",
  96                     "Q4",
  97                 }
  98             },
  99             { "QuarterNames",
 100                 new String[] {
 101                     "Q1",
 102                     "Q2",
 103                     "Q3",
 104                     "Q4",
 105                 }
 106             },
 107             { "QuarterNarrows",
 108                 new String[] {
 109                     "1",
 110                     "2",
 111                     "3",
 112                     "4",
 113                 }
 114             },
















 115             { "field.dayperiod",
 116                 "Dayperiod" },
 117             { "field.era",
 118                 "Era" },
 119             { "field.hour",
 120                 "Hour" },
 121             { "field.minute",
 122                 "Minute" },
 123             { "field.month",
 124                 "Month" },
 125             { "field.second",
 126                 "Second" },
 127             { "field.week",
 128                 "Week" },
 129             { "field.weekday",
 130                 "Day of the Week" },
 131             { "field.year",
 132                 "Year" },
 133             { "field.zone",
 134                 "Zone" },
 135             { "islamic.AmPmMarkers",

 136                 new String[] {

 137                     "AM",
 138                     "PM",
 139                 }

 140             },

 141             { "islamic.DatePatterns",
 142                 new String[] {
 143                     "GGGG y MMMM d, EEEE",
 144                     "GGGG y MMMM d",
 145                     "GGGG y MMM d",
 146                     "G y-MM-dd",
 147                 }

 148             },

 149             { "islamic.DayAbbreviations",

 150                 new String[] {

 151                     "Sun",
 152                     "Mon",
 153                     "Tue",
 154                     "Wed",
 155                     "Thu",
 156                     "Fri",
 157                     "Sat",
 158                 }

 159             },

 160             { "islamic.DayNames",

 161                 new String[] {

 162                     "Sun",
 163                     "Mon",
 164                     "Tue",
 165                     "Wed",
 166                     "Thu",
 167                     "Fri",
 168                     "Sat",
 169                 }

 170             },

 171             { "islamic.DayNarrows",

 172                 new String[] {

 173                     "S",
 174                     "M",
 175                     "T",
 176                     "W",
 177                     "T",
 178                     "F",
 179                     "S",
 180                 }
 181             },
 182             { "islamic.Eras",
 183                 new String[] {
 184                     "",
 185                     "AH",
 186                 }
 187             },
 188             { "islamic.MonthAbbreviations",
 189                 new String[] {
 190                     "Muh.",
 191                     "Saf.",
 192                     "Rab. I",
 193                     "Rab. II",
 194                     "Jum. I",
 195                     "Jum. II",
 196                     "Raj.",
 197                     "Sha.",
 198                     "Ram.",
 199                     "Shaw.",


 203                 }
 204             },
 205             { "islamic.MonthNames",
 206                 new String[] {
 207                     "Muharram",
 208                     "Safar",
 209                     "Rabi\u02bb I",
 210                     "Rabi\u02bb II",
 211                     "Jumada I",
 212                     "Jumada II",
 213                     "Rajab",
 214                     "Sha\u02bbban",
 215                     "Ramadan",
 216                     "Shawwal",
 217                     "Dhu\u02bbl-Qi\u02bbdah",
 218                     "Dhu\u02bbl-Hijjah",
 219                     "",
 220                 }
 221             },
 222             { "islamic.MonthNarrows",
 223                 rocMonthNarrows },
 224             { "islamic.QuarterNames",

 225                 new String[] {

 226                     "Q1",
 227                     "Q2",
 228                     "Q3",
 229                     "Q4",
 230                 }

 231             },

 232             { "islamic.QuarterNarrows",

 233                 new String[] {
 234                     "1",
 235                     "2",
 236                     "3",
 237                     "4",
 238                 }

 239             },

 240             { "islamic.TimePatterns",

 241                 new String[] {

 242                     "HH:mm:ss zzzz",
 243                     "HH:mm:ss z",
 244                     "HH:mm:ss",
 245                     "HH:mm",
 246                 }

 247             },

 248             { "islamic.long.Eras",

 249                 new String[] {

 250                     "",
 251                     "AH",
 252                 }

 253             },

 254             { "islamic.narrow.AmPmMarkers",

 255                 new String[] {

 256                     "a",
 257                     "p",
 258                 }

 259             },

 260             { "islamic.narrow.Eras",

 261                 new String[] {

 262                     "",
 263                     "AH",
 264                 }
 265             },
 266             { "islamic.short.Eras",
 267                 new String[] {
 268                     "",
 269                     "AH",
 270                 }
 271             },
 272             { "java.time.buddhist.DatePatterns",
 273                 new String[] {
 274                     "G y MMMM d, EEEE",
 275                     "G y MMMM d",
 276                     "G y MMM d",
 277                     "GGGGG y-MM-dd",
 278                 }

 279             },

 280             { "java.time.buddhist.long.Eras",

 281                 new String[] {

 282                     "BC",
 283                     "BE",
 284                 }
 285             },
 286             { "java.time.buddhist.short.Eras",
 287                 new String[] {
 288                     "BC",
 289                     "B.E.",
 290                 }
 291             },
 292             { "java.time.islamic.DatePatterns",
 293                 new String[] {
 294                     "G y MMMM d, EEEE",
 295                     "G y MMMM d",
 296                     "G y MMM d",
 297                     "GGGGG y-MM-dd",
 298                 }
 299             },
 300             { "java.time.japanese.DatePatterns",
 301                 new String[] {
 302                     "G y MMMM d (EEEE)",
 303                     "G y MMMM d",
 304                     "G y MMM d",
 305                     "GGGGGy.MM.dd",
 306                 }
 307             },
 308             { "java.time.japanese.long.Eras",
 309                 new String[] {
 310                     "",
 311                     "Meiji",
 312                     "Taisho",
 313                     "Showa",
 314                     "Heisei",
 315                 }
 316             },
 317             { "java.time.japanese.short.Eras",
 318                 new String[] {
 319                     "",
 320                     "Meiji",
 321                     "Taisho",
 322                     "Showa",
 323                     "Heisei",
 324                 }
 325             },
 326             { "java.time.long.Eras",

 327                 new String[] {

 328                     "BCE",
 329                     "CE",
 330                 }

 331             },

 332             { "java.time.roc.DatePatterns",
 333                 new String[] {
 334                     "G y MMMM d, EEEE",
 335                     "G y MMMM d",
 336                     "G y MMM d",
 337                     "GGGGG y-MM-dd",
 338                 }
 339             },
 340             { "java.time.short.Eras",
 341                 new String[] {
 342                     "BC",
 343                     "AD",
 344                 }
 345             },
 346             { "roc.AmPmMarkers",

 347                 new String[] {

 348                     "AM",
 349                     "PM",
 350                 }

 351             },

 352             { "roc.DatePatterns",
 353                 new String[] {
 354                     "GGGG y MMMM d, EEEE",
 355                     "GGGG y MMMM d",
 356                     "GGGG y MMM d",
 357                     "G y-MM-dd",
 358                 }

 359             },

 360             { "roc.DayNames",

 361                 new String[] {

 362                     "Sun",
 363                     "Mon",
 364                     "Tue",
 365                     "Wed",
 366                     "Thu",
 367                     "Fri",
 368                     "Sat",
 369                 }

 370             },

 371             { "roc.DayNarrows",

 372                 new String[] {

 373                     "S",
 374                     "M",
 375                     "T",
 376                     "W",
 377                     "T",
 378                     "F",
 379                     "S",
 380                 }
 381             },
 382             { "roc.Eras",
 383                 new String[] {
 384                     "Before R.O.C.",
 385                     "R.O.C.",
 386                 }
 387             },
 388             { "roc.MonthAbbreviations",

 389                 new String[] {

 390                     "M01",
 391                     "M02",
 392                     "M03",
 393                     "M04",
 394                     "M05",
 395                     "M06",
 396                     "M07",
 397                     "M08",
 398                     "M09",
 399                     "M10",
 400                     "M11",
 401                     "M12",
 402                     "",
 403                 }

 404             },

 405             { "roc.MonthNames",

 406                 new String[] {

 407                     "M01",
 408                     "M02",
 409                     "M03",
 410                     "M04",
 411                     "M05",
 412                     "M06",
 413                     "M07",
 414                     "M08",
 415                     "M09",
 416                     "M10",
 417                     "M11",
 418                     "M12",
 419                     "",
 420                 }

 421             },

 422             { "roc.MonthNarrows",

 423                 rocMonthNarrows },
 424             { "roc.QuarterNames",

 425                 new String[] {

 426                     "Q1",
 427                     "Q2",
 428                     "Q3",
 429                     "Q4",
 430                 }

 431             },

 432             { "roc.QuarterNarrows",

 433                 new String[] {

 434                     "1",
 435                     "2",
 436                     "3",
 437                     "4",
 438                 }

 439             },

 440             { "roc.TimePatterns",

 441                 new String[] {

 442                     "HH:mm:ss zzzz",
 443                     "HH:mm:ss z",
 444                     "HH:mm:ss",
 445                     "HH:mm",
 446                 }

 447             },

 448             { "roc.long.Eras",

 449                 new String[] {

 450                     "Before R.O.C.",
 451                     "R.O.C.",
 452                 }

 453             },

 454             { "roc.narrow.AmPmMarkers",

 455                 new String[] {

 456                     "a",
 457                     "p",
 458                 }

 459             },

 460             { "roc.narrow.Eras",

 461                 new String[] {

 462                     "Before R.O.C.",
 463                     "R.O.C.",
 464                 }

 465             },

 466             { "roc.short.Eras",
 467                 new String[] {
 468                     "Before R.O.C.",
 469                     "R.O.C.",
 470                 }
 471             },
 472         };
 473     }
 474 }