jdk/src/share/classes/sun/text/resources/FormatData.java
changeset 14765 0987999ed367
parent 13583 dc0017b1a452
child 15281 dd43cb9be0e1
equal deleted inserted replaced
14764:6dd2370b4cd3 14765:0987999ed367
    48 public class FormatData extends ListResourceBundle {
    48 public class FormatData extends ListResourceBundle {
    49     /**
    49     /**
    50      * Overrides ListResourceBundle
    50      * Overrides ListResourceBundle
    51      */
    51      */
    52     protected final Object[][] getContents() {
    52     protected final Object[][] getContents() {
       
    53         final String[] buddhistEras = new String[] { // Thai Buddhist calendar era strings
       
    54             "BC",     // BC
       
    55             "B.E."    // Buddhist Era
       
    56         };
       
    57 
       
    58         // Japanese imperial calendar era abbreviations
       
    59         final String[] japaneseEraAbbrs = new String[] {
       
    60             "",
       
    61             "M",
       
    62             "T",
       
    63             "S",
       
    64             "H",
       
    65         };
       
    66 
    53         return new Object[][] {
    67         return new Object[][] {
    54             { "MonthNames",
    68             { "MonthNames",
    55                 new String[] {
    69                 new String[] {
    56                     "January", // january
    70                     "January", // january
    57                     "February", // february
    71                     "February", // february
   105                     "Thu", // abb Thursday
   119                     "Thu", // abb Thursday
   106                     "Fri", // abb Friday
   120                     "Fri", // abb Friday
   107                     "Sat" // abb Saturday
   121                     "Sat" // abb Saturday
   108                 }
   122                 }
   109             },
   123             },
       
   124             { "DayNarrows",
       
   125                 new String[] {
       
   126                     "S",
       
   127                     "M",
       
   128                     "T",
       
   129                     "W",
       
   130                     "T",
       
   131                     "F",
       
   132                     "S",
       
   133                 }
       
   134             },
   110             { "AmPmMarkers",
   135             { "AmPmMarkers",
   111                 new String[] {
   136                 new String[] {
   112                     "AM", // am marker
   137                     "AM", // am marker
   113                     "PM" // pm marker
   138                     "PM" // pm marker
       
   139                 }
       
   140             },
       
   141             { "narrow.AmPmMarkers",
       
   142                 new String[] {
       
   143                     "a", // am marker
       
   144                     "p"  // pm marker
   114                 }
   145                 }
   115             },
   146             },
   116             { "Eras",
   147             { "Eras",
   117                 new String[] { // era strings for GregorianCalendar
   148                 new String[] { // era strings for GregorianCalendar
   118                     "BC",
   149                     "BC",
   119                     "AD"
   150                     "AD"
   120                 }
   151                 }
   121             },
   152             },
       
   153             { "narrow.Eras",
       
   154                 new String[] {
       
   155                     "B",
       
   156                     "A",
       
   157                 }
       
   158             },
   122             { "buddhist.Eras",
   159             { "buddhist.Eras",
   123                 new String[] { // Thai Buddhist calendar era strings
   160               buddhistEras
   124                     "BC",     // BC
       
   125                     "B.E."    // Buddhist Era
       
   126                 }
       
   127             },
   161             },
   128             { "buddhist.short.Eras",
   162             { "buddhist.short.Eras",
   129                 new String[] { // Thai Buddhist calendar era strings
   163               buddhistEras
   130                     "BC",     // BC
   164             },
   131                     "B.E."    // Buddhist Era
   165             { "buddhist.narrow.Eras",
   132                 }
   166               buddhistEras
   133             },
   167             },
   134             { "japanese.Eras",
   168             { "japanese.Eras",
   135                 new String[] { // Japanese imperial calendar era strings
   169                 new String[] { // Japanese imperial calendar era strings
   136                     "",
   170                     "",
   137                     "Meiji",
   171                     "Meiji",
   139                     "Showa",
   173                     "Showa",
   140                     "Heisei",
   174                     "Heisei",
   141                 }
   175                 }
   142             },
   176             },
   143             { "japanese.short.Eras",
   177             { "japanese.short.Eras",
   144                 new String[] { // Japanese imperial calendar era abbreviations
   178               japaneseEraAbbrs
   145                     "",
   179             },
   146                     "M",
   180             { "japanese.narrow.Eras",
   147                     "T",
   181               japaneseEraAbbrs
   148                     "S",
       
   149                     "H",
       
   150                 }
       
   151             },
   182             },
   152             { "japanese.FirstYear",
   183             { "japanese.FirstYear",
   153                 new String[] { // Japanese imperial calendar year name
   184                 new String[] { // Japanese imperial calendar year name
   154                     // empty in English
   185                     // empty in English
   155                 }
   186                 }