Print this page
rev 5615 : 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 Jigsaw. by Naoto Sato and Masayoshi Okutsu)

Split Close
Expand all
Collapse all
          --- old/src/share/classes/sun/text/resources/FormatData_da.java
          +++ new/src/share/classes/sun/text/resources/da/FormatData_da.java
   1    1  /*
   2      - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 1997, 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 ↓ 21 lines elided ↑ open up ↑
  34   34   * is copyrighted and owned by Taligent, Inc., a wholly-owned
  35   35   * subsidiary of IBM. These materials are provided under terms
  36   36   * of a License Agreement between Taligent and Sun. This technology
  37   37   * is protected by multiple US and International patents.
  38   38   *
  39   39   * This notice and attribution to Taligent may not be removed.
  40   40   * Taligent is a registered trademark of Taligent, Inc.
  41   41   *
  42   42   */
  43   43  
  44      -package sun.text.resources;
       44 +package sun.text.resources.da;
  45   45  
  46   46  import java.util.ListResourceBundle;
  47   47  
  48   48  public class FormatData_da extends ListResourceBundle {
  49   49      /**
  50   50       * Overrides ListResourceBundle
  51   51       */
  52   52      protected final Object[][] getContents() {
  53   53          return new Object[][] {
  54   54              { "MonthNames",
↓ open down ↓ 8 lines elided ↑ open up ↑
  63   63                      "august", // august
  64   64                      "september", // september
  65   65                      "oktober", // october
  66   66                      "november", // november
  67   67                      "december", // december
  68   68                      "" // month 13 if applicable
  69   69                  }
  70   70              },
  71   71              { "MonthAbbreviations",
  72   72                  new String[] {
       73 +                    "jan.",
       74 +                    "feb.",
       75 +                    "mar.",
       76 +                    "apr.",
       77 +                    "maj",
       78 +                    "jun.",
       79 +                    "jul.",
       80 +                    "aug.",
       81 +                    "sep.",
       82 +                    "okt.",
       83 +                    "nov.",
       84 +                    "dec.",
       85 +                    "",
       86 +                }
       87 +            },
       88 +            { "standalone.MonthAbbreviations",
       89 +                new String[] {
  73   90                      "jan", // abb january
  74   91                      "feb", // abb february
  75   92                      "mar", // abb march
  76   93                      "apr", // abb april
  77   94                      "maj", // abb may
  78   95                      "jun", // abb june
  79   96                      "jul", // abb july
  80   97                      "aug", // abb august
  81   98                      "sep", // abb september
  82   99                      "okt", // abb october
↓ open down ↓ 32 lines elided ↑ open up ↑
 115  132                      "%", // percent sign
 116  133                      "0", // native 0 digit
 117  134                      "#", // pattern digit
 118  135                      "-", // minus sign
 119  136                      "E", // exponential
 120  137                      "\u2030", // per mille
 121  138                      "\u221e", // infinity
 122  139                      "\ufffd" // NaN
 123  140                  }
 124  141              },
 125      -            { "DateTimePatterns",
      142 +            { "TimePatterns",
 126  143                  new String[] {
 127  144                      "HH:mm:ss z", // full time pattern
 128  145                      "HH:mm:ss z", // long time pattern
 129  146                      "HH:mm:ss", // medium time pattern
 130  147                      "HH:mm", // short time pattern
      148 +                }
      149 +            },
      150 +            { "DatePatterns",
      151 +                new String[] {
 131  152                      "d. MMMM yyyy", // full date pattern
 132  153                      "d. MMMM yyyy", // long date pattern
 133  154                      "dd-MM-yyyy", // medium date pattern
 134  155                      "dd-MM-yy", // short date pattern
      156 +                }
      157 +            },
      158 +            { "DateTimePatterns",
      159 +                new String[] {
 135  160                      "{1} {0}" // date-time pattern
 136  161                  }
 137  162              },
 138  163              { "DateTimePatternChars", "GuMtkHmsSEDFwWahKzZ" },
 139  164          };
 140  165      }
 141  166  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX