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_ar.java
          +++ new/src/share/classes/sun/text/resources/ar/FormatData_ar.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.ar;
  45   45  
  46   46  import java.util.ListResourceBundle;
  47   47  
  48   48  public class FormatData_ar 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 ↓ 64 lines elided ↑ open up ↑
 119  119                      "\u0645"
 120  120                  }
 121  121              },
 122  122              { "NumberPatterns",
 123  123                  new String[] {
 124  124                      "#,##0.###;#,##0.###-", // decimal pattern
 125  125                      "\u00A4 #,##0.###;\u00A4 #,##0.###-", // currency pattern
 126  126                      "#,##0%" // percent pattern
 127  127                  }
 128  128              },
 129      -            { "DateTimePatterns",
      129 +            { "TimePatterns",
 130  130                  new String[] {
 131  131                      "z hh:mm:ss a", // full time pattern
 132  132                      "z hh:mm:ss a", // long time pattern
 133  133                      "hh:mm:ss a", // medium time pattern
 134  134                      "hh:mm a", // short time pattern
      135 +                }
      136 +            },
      137 +            { "DatePatterns",
      138 +                new String[] {
 135  139                      "dd MMMM, yyyy", // full date pattern
 136  140                      "dd MMMM, yyyy", // long date pattern
 137  141                      "dd/MM/yyyy", // medium date pattern
 138  142                      "dd/MM/yy", // short date pattern
      143 +                }
      144 +            },
      145 +            { "DateTimePatterns",
      146 +                new String[] {
 139  147                      "{1} {0}" // date-time pattern
 140  148                  }
 141  149              },
 142  150              { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
 143  151          };
 144  152      }
 145  153  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX