Print this page
rev 5696 : 6336885: RFE: Locale Data Deployment Enhancements
4609153: Provide locale data for Indic locales
5104387: Support for gl_ES locale (galician language)
6337471: desktop/system locale preferences support
7056139: (cal) SPI support for locale-dependent Calendar parameters
7058206: Provide CalendarData SPI for week params and display field value names
7073852: Support multiple scripts for digits and decimal symbols per locale
7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat
7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales
7151414: (cal) Support calendar type identification
7168528: LocaleServiceProvider needs to be aware of Locale extensions
7171372: (cal) locale's default Calendar should be created if unknown calendar is specified
Summary: JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o packaging changes. by Naoto Sato and Masayoshi Okutsu)

Split Close
Expand all
Collapse all
          --- old/src/share/classes/sun/text/resources/FormatData_it.java
          +++ new/src/share/classes/sun/text/resources/it/FormatData_it.java
   1    1  /*
   2      - * Copyright (c) 1996, 2005, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 1996, 2012, Oracle and/or its affiliates. All rights reserved.
   3    3   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4   *
   5    5   * This code is free software; you can redistribute it and/or modify it
   6    6   * under the terms of the GNU General Public License version 2 only, as
   7    7   * published by the Free Software Foundation.  Oracle designates this
   8    8   * particular file as subject to the "Classpath" exception as provided
   9    9   * by Oracle in the LICENSE file that accompanied this code.
  10   10   *
  11   11   * This code is distributed in the hope that it will be useful, but WITHOUT
  12   12   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
↓ open down ↓ 18 lines elided ↑ open up ↑
  31   31   * is copyrighted and owned by Taligent, Inc., a wholly-owned
  32   32   * subsidiary of IBM. These materials are provided under terms
  33   33   * of a License Agreement between Taligent and Sun. This technology
  34   34   * is protected by multiple US and International patents.
  35   35   *
  36   36   * This notice and attribution to Taligent may not be removed.
  37   37   * Taligent is a registered trademark of Taligent, Inc.
  38   38   *
  39   39   */
  40   40  
  41      -package sun.text.resources;
       41 +package sun.text.resources.it;
  42   42  
  43   43  import java.util.ListResourceBundle;
  44   44  
  45   45  public class FormatData_it extends ListResourceBundle {
  46   46      /**
  47   47       * Overrides ListResourceBundle
  48   48       */
  49   49      protected final Object[][] getContents() {
  50   50          return new Object[][] {
  51   51              { "MonthNames",
↓ open down ↓ 6 lines elided ↑ open up ↑
  58   58                      "giugno", // june
  59   59                      "luglio", // july
  60   60                      "agosto", // august
  61   61                      "settembre", // september
  62   62                      "ottobre", // october
  63   63                      "novembre", // november
  64   64                      "dicembre", // december
  65   65                      "" // month 13 if applicable
  66   66                  }
  67   67              },
       68 +            { "standalone.MonthNames",
       69 +                new String[] {
       70 +                    "Gennaio",
       71 +                    "Febbraio",
       72 +                    "Marzo",
       73 +                    "Aprile",
       74 +                    "Maggio",
       75 +                    "Giugno",
       76 +                    "Luglio",
       77 +                    "Agosto",
       78 +                    "Settembre",
       79 +                    "Ottobre",
       80 +                    "Novembre",
       81 +                    "Dicembre",
       82 +                    "",
       83 +                }
       84 +            },
  68   85              { "MonthAbbreviations",
  69   86                  new String[] {
  70   87                      "gen", // abb january
  71   88                      "feb", // abb february
  72   89                      "mar", // abb march
  73   90                      "apr", // abb april
  74   91                      "mag", // abb may
  75   92                      "giu", // abb june
  76   93                      "lug", // abb july
  77   94                      "ago", // abb august
↓ open down ↓ 40 lines elided ↑ open up ↑
 118  135                      "%", // percent sign
 119  136                      "0", // native 0 digit
 120  137                      "#", // pattern digit
 121  138                      "-", // minus sign
 122  139                      "E", // exponential
 123  140                      "\u2030", // per mille
 124  141                      "\u221e", // infinity
 125  142                      "\ufffd" // NaN
 126  143                  }
 127  144              },
 128      -            { "DateTimePatterns",
      145 +            { "TimePatterns",
 129  146                  new String[] {
 130  147                      "H.mm.ss z", // full time pattern
 131  148                      "H.mm.ss z", // long time pattern
 132  149                      "H.mm.ss", // medium time pattern
 133  150                      "H.mm", // short time pattern
      151 +                }
      152 +            },
      153 +            { "DatePatterns",
      154 +                new String[] {
 134  155                      "EEEE d MMMM yyyy", // full date pattern
 135  156                      "d MMMM yyyy", // long date pattern
 136  157                      "d-MMM-yyyy", // medium date pattern
 137  158                      "dd/MM/yy", // short date pattern
      159 +                }
      160 +            },
      161 +            { "DateTimePatterns",
      162 +                new String[] {
 138  163                      "{1} {0}" // date-time pattern
 139  164                  }
 140  165              },
 141  166              { "DateTimePatternChars", "GyMdkHmsSEDFwWahKzZ" },
 142  167          };
 143  168      }
 144  169  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX