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_ru.java
          +++ new/src/share/classes/sun/text/resources/ru/FormatData_ru.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 ↓ 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.ru;
  42   42  
  43   43  import java.util.ListResourceBundle;
  44   44  
  45   45  public class FormatData_ru extends ListResourceBundle {
  46   46      /**
  47   47       * Overrides ListResourceBundle
  48   48       */
  49   49      protected final Object[][] getContents() {
  50   50          return new Object[][] {
  51      -            { "MonthNames",
       51 +            {"MonthNames",
  52   52                  new String[] {
  53      -                    "\u042f\u043d\u0432\u0430\u0440\u044c", // january
  54      -                    "\u0424\u0435\u0432\u0440\u0430\u043b\u044c", // february
  55      -                    "\u041c\u0430\u0440\u0442", // march
  56      -                    "\u0410\u043f\u0440\u0435\u043b\u044c", // april
  57      -                    "\u041c\u0430\u0439", // may
  58      -                    "\u0418\u044e\u043d\u044c", // june
  59      -                    "\u0418\u044e\u043b\u044c", // july
  60      -                    "\u0410\u0432\u0433\u0443\u0441\u0442", // august
       53 +                    "\u044f\u043d\u0432\u0430\u0440\u044f",             // january
       54 +                    "\u0444\u0435\u0432\u0440\u0430\u043b\u044f",       // february
       55 +                    "\u043c\u0430\u0440\u0442\u0430",                   // march
       56 +                    "\u0430\u043f\u0440\u0435\u043b\u044f",             // april
       57 +                    "\u043c\u0430\u044f",                               // may
       58 +                    "\u0438\u044e\u043d\u044f",                         // june
       59 +                    "\u0438\u044e\u043b\u044f",                         // july
       60 +                    "\u0430\u0432\u0433\u0443\u0441\u0442\u0430",       // august
       61 +                    "\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f", // september
       62 +                    "\u043e\u043a\u0442\u044f\u0431\u0440\u044f",       // october
       63 +                    "\u043d\u043e\u044f\u0431\u0440\u044f",             // november
       64 +                    "\u0434\u0435\u043a\u0430\u0431\u0440\u044f",       // december
       65 +                    "", // month 13 if applicable
       66 +                }
       67 +            },
       68 +            { "standalone.MonthNames",
       69 +                new String[] {
       70 +                    "\u042f\u043d\u0432\u0430\u0440\u044c",             // january
       71 +                    "\u0424\u0435\u0432\u0440\u0430\u043b\u044c",       // february
       72 +                    "\u041c\u0430\u0440\u0442",                         // march
       73 +                    "\u0410\u043f\u0440\u0435\u043b\u044c",             // april
       74 +                    "\u041c\u0430\u0439",                               // may
       75 +                    "\u0418\u044e\u043d\u044c",                         // june
       76 +                    "\u0418\u044e\u043b\u044c",                         // july
       77 +                    "\u0410\u0432\u0433\u0443\u0441\u0442",             // august
  61   78                      "\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c", // september
  62      -                    "\u041e\u043a\u0442\u044f\u0431\u0440\u044c", // october
  63      -                    "\u041d\u043e\u044f\u0431\u0440\u044c", // november
  64      -                    "\u0414\u0435\u043a\u0430\u0431\u0440\u044c", // december
  65      -                    "" // month 13 if applicable
       79 +                    "\u041e\u043a\u0442\u044f\u0431\u0440\u044c",       // october
       80 +                    "\u041d\u043e\u044f\u0431\u0440\u044c",             // november
       81 +                    "\u0414\u0435\u043a\u0430\u0431\u0440\u044c",       // december
       82 +                    "", // month 13 if applicable
  66   83                  }
  67   84              },
  68   85              { "MonthAbbreviations",
  69   86                  new String[] {
  70   87                      "\u044f\u043d\u0432", // abb january
  71   88                      "\u0444\u0435\u0432", // abb february
  72   89                      "\u043c\u0430\u0440", // abb march
  73   90                      "\u0430\u043f\u0440", // abb april
  74      -                    "\u043c\u0430\u0439", // abb may
       91 +                    "\u043c\u0430\u044f", // abb may
  75   92                      "\u0438\u044e\u043d", // abb june
  76   93                      "\u0438\u044e\u043b", // abb july
  77   94                      "\u0430\u0432\u0433", // abb august
  78   95                      "\u0441\u0435\u043d", // abb september
  79   96                      "\u043e\u043a\u0442", // abb october
  80   97                      "\u043d\u043e\u044f", // abb november
  81   98                      "\u0434\u0435\u043a", // abb december
  82      -                    "" // abb month 13 if applicable
       99 +                    "", // month 13 if applicable
  83  100                  }
  84  101              },
      102 +            { "standalone.MonthAbbreviations",
      103 +                new String[] {
      104 +                    "\u042f\u043d\u0432.",       // abb january
      105 +                    "\u0424\u0435\u0432\u0440.", // abb february
      106 +                    "\u041c\u0430\u0440\u0442",  // abb march
      107 +                    "\u0410\u043f\u0440.",       // abb april
      108 +                    "\u041c\u0430\u0439",        // abb may
      109 +                    "\u0418\u044e\u043d\u044c",  // abb june
      110 +                    "\u0418\u044e\u043b\u044c",  // abb july
      111 +                    "\u0410\u0432\u0433.",       // abb august
      112 +                    "\u0421\u0435\u043d\u0442.", // abb september
      113 +                    "\u041e\u043a\u0442.",       // abb october
      114 +                    "\u041d\u043e\u044f\u0431.", // abb november
      115 +                    "\u0414\u0435\u043a.",       // abb december
      116 +                    "", // month 13 if applicable
      117 +                }
      118 +            },
  85  119              { "DayNames",
  86  120                  new String[] {
  87  121                      "\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435", // Sunday
  88  122                      "\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a", // Monday
  89  123                      "\u0432\u0442\u043e\u0440\u043d\u0438\u043a", // Tuesday
  90  124                      "\u0441\u0440\u0435\u0434\u0430", // Wednesday
  91  125                      "\u0447\u0435\u0442\u0432\u0435\u0440\u0433", // Thursday
  92  126                      "\u043f\u044f\u0442\u043d\u0438\u0446\u0430", // Friday
  93  127                      "\u0441\u0443\u0431\u0431\u043e\u0442\u0430" // Saturday
  94  128                  }
↓ open down ↓ 23 lines elided ↑ open up ↑
 118  152                      "%", // percent sign
 119  153                      "0", // native 0 digit
 120  154                      "#", // pattern digit
 121  155                      "-", // minus sign
 122  156                      "E", // exponential
 123  157                      "\u2030", // per mille
 124  158                      "\u221e", // infinity
 125  159                      "\ufffd" // NaN
 126  160                  }
 127  161              },
 128      -            { "DateTimePatterns",
      162 +            { "TimePatterns",
 129  163                  new String[] {
 130  164                      "H:mm:ss z", // full time pattern
 131  165                      "H:mm:ss z", // long time pattern
 132  166                      "H:mm:ss", // medium time pattern
 133  167                      "H:mm", // short time pattern
      168 +                }
      169 +            },
      170 +            { "DatePatterns",
      171 +                new String[] {
 134  172                      "d MMMM yyyy '\u0433.'", // full date pattern
 135  173                      "d MMMM yyyy '\u0433.'", // long date pattern
 136  174                      "dd.MM.yyyy", // medium date pattern
 137  175                      "dd.MM.yy", // short date pattern
      176 +                }
      177 +            },
      178 +            { "DateTimePatterns",
      179 +                new String[] {
 138  180                      "{1} {0}" // date-time pattern
 139  181                  }
 140  182              },
 141  183              { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
 142  184          };
 143  185      }
 144  186  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX