1 /*
   2  * Copyright (c) 1996, 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  */
  28 
  29 /*
  30  * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
  31  * (C) Copyright IBM Corp. 1996 - 1999 - All Rights Reserved
  32  *
  33  * The original version of this source code and documentation
  34  * is copyrighted and owned by Taligent, Inc., a wholly-owned
  35  * subsidiary of IBM. These materials are provided under terms
  36  * of a License Agreement between Taligent and Sun. This technology
  37  * is protected by multiple US and International patents.
  38  *
  39  * This notice and attribution to Taligent may not be removed.
  40  * Taligent is a registered trademark of Taligent, Inc.
  41  *
  42  */
  43 
  44 package sun.text.resources;
  45 
  46 import java.util.ListResourceBundle;
  47 
  48 public class FormatData extends ListResourceBundle {
  49     /**
  50      * Overrides ListResourceBundle
  51      */
  52     protected final Object[][] getContents() {
  53         return new Object[][] {
  54             { "MonthNames",
  55                 new String[] {
  56                     "January", // january
  57                     "February", // february
  58                     "March", // march
  59                     "April", // april
  60                     "May", // may
  61                     "June", // june
  62                     "July", // july
  63                     "August", // august
  64                     "September", // september
  65                     "October", // october
  66                     "November", // november
  67                     "December", // december
  68                     "" // month 13 if applicable
  69                 }
  70             },
  71             { "MonthAbbreviations",
  72                 new String[] {
  73                     "Jan", // abb january
  74                     "Feb", // abb february
  75                     "Mar", // abb march
  76                     "Apr", // abb april
  77                     "May", // abb may
  78                     "Jun", // abb june
  79                     "Jul", // abb july
  80                     "Aug", // abb august
  81                     "Sep", // abb september
  82                     "Oct", // abb october
  83                     "Nov", // abb november
  84                     "Dec", // abb december
  85                     "" // abb month 13 if applicable
  86                 }
  87             },
  88             { "DayNames",
  89                 new String[] {
  90                     "Sunday", // Sunday
  91                     "Monday", // Monday
  92                     "Tuesday", // Tuesday
  93                     "Wednesday", // Wednesday
  94                     "Thursday", // Thursday
  95                     "Friday", // Friday
  96                     "Saturday" // Saturday
  97                 }
  98             },
  99             { "DayAbbreviations",
 100                 new String[] {
 101                     "Sun", // abb Sunday
 102                     "Mon", // abb Monday
 103                     "Tue", // abb Tuesday
 104                     "Wed", // abb Wednesday
 105                     "Thu", // abb Thursday
 106                     "Fri", // abb Friday
 107                     "Sat" // abb Saturday
 108                 }
 109             },
 110             { "AmPmMarkers",
 111                 new String[] {
 112                     "AM", // am marker
 113                     "PM" // pm marker
 114                 }
 115             },
 116             { "Eras",
 117                 new String[] { // era strings for GregorianCalendar
 118                     "BC",
 119                     "AD"
 120                 }
 121             },
 122             { "sun.util.BuddhistCalendar.Eras",
 123                 new String[] { // Thai Buddhist calendar era strings
 124                     "BC",     // BC
 125                     "B.E."    // Buddhist Era
 126                 }
 127             },
 128             { "sun.util.BuddhistCalendar.short.Eras",
 129                 new String[] { // Thai Buddhist calendar era strings
 130                     "BC",     // BC
 131                     "B.E."    // Buddhist Era
 132                 }
 133             },
 134             { "java.util.JapaneseImperialCalendar.Eras",
 135                 new String[] { // Japanese imperial calendar era strings
 136                     "",
 137                     "Meiji",
 138                     "Taisho",
 139                     "Showa",
 140                     "Heisei",
 141                     "NewEra", // NewEra
 142                 }
 143             },
 144             { "java.util.JapaneseImperialCalendar.short.Eras",
 145                 new String[] { // Japanese imperial calendar era abbreviations
 146                     "",
 147                     "M",
 148                     "T",
 149                     "S",
 150                     "H",
 151                     "N", // NewEra
 152                 }
 153             },
 154             { "java.util.JapaneseImperialCalendar.FirstYear",
 155                 new String[] { // Japanese imperial calendar year name
 156                     // empty in English
 157                 }
 158             },
 159             { "NumberPatterns",
 160                 new String[] {
 161                     "#,##0.###;-#,##0.###", // decimal pattern
 162                     "\u00a4 #,##0.00;-\u00a4 #,##0.00", // currency pattern
 163                     "#,##0%" // percent pattern
 164                 }
 165             },
 166             { "NumberElements",
 167                 new String[] {
 168                     ".", // decimal separator
 169                     ",", // group (thousands) separator
 170                     ";", // list separator
 171                     "%", // percent sign
 172                     "0", // native 0 digit
 173                     "#", // pattern digit
 174                     "-", // minus sign
 175                     "E", // exponential
 176                     "\u2030", // per mille
 177                     "\u221e", // infinity
 178                     "\ufffd" // NaN
 179                 }
 180             },
 181             { "DateTimePatterns",
 182                 new String[] {
 183                     "h:mm:ss a z",        // full time pattern
 184                     "h:mm:ss a z",        // long time pattern
 185                     "h:mm:ss a",          // medium time pattern
 186                     "h:mm a",             // short time pattern
 187                     "EEEE, MMMM d, yyyy", // full date pattern
 188                     "MMMM d, yyyy",       // long date pattern
 189                     "MMM d, yyyy",        // medium date pattern
 190                     "M/d/yy",             // short date pattern
 191                     "{1} {0}"             // date-time pattern
 192                 }
 193             },
 194             { "sun.util.BuddhistCalendar.DateTimePatterns",
 195                 new String[] {
 196                     "H:mm:ss z",          // full time pattern
 197                     "H:mm:ss z",          // long time pattern
 198                     "H:mm:ss",            // medium time pattern
 199                     "H:mm",               // short time pattern
 200                     "EEEE d MMMM G yyyy", // full date pattern
 201                     "d MMMM yyyy",        // long date pattern
 202                     "d MMM yyyy",         // medium date pattern
 203                     "d/M/yyyy",           // short date pattern
 204                     "{1}, {0}"            // date-time pattern
 205                 }
 206             },
 207             { "java.util.JapaneseImperialCalendar.DateTimePatterns",
 208                 new String[] {
 209                     "h:mm:ss a z",             // full time pattern
 210                     "h:mm:ss a z",             // long time pattern
 211                     "h:mm:ss a",               // medium time pattern
 212                     "h:mm a",                  // short time pattern
 213                     "GGGG yyyy MMMM d (EEEE)", // full date pattern
 214                     "GGGG yyyy MMMM d",        // long date pattern
 215                     "GGGG yyyy MMM d",         // medium date pattern
 216                     "Gy.MM.dd",                // short date pattern
 217                     "{1} {0}"                  // date-time pattern
 218                 }
 219             },
 220             { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" },
 221         };
 222     }
 223 }