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_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",
       52 +                new String[] {
       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
       78 +                    "\u0421\u0435\u043d\u0442\u044f\u0431\u0440\u044c", // september
       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
       83 +                }
       84 +            },
       85 +            { "MonthAbbreviations",
       86 +                new String[] {
       87 +                    "\u044f\u043d\u0432", // abb january
       88 +                    "\u0444\u0435\u0432", // abb february
       89 +                    "\u043c\u0430\u0440", // abb march
       90 +                    "\u0430\u043f\u0440", // abb april
       91 +                    "\u043c\u0430\u044f", // abb may
       92 +                    "\u0438\u044e\u043d", // abb june
       93 +                    "\u0438\u044e\u043b", // abb july
       94 +                    "\u0430\u0432\u0433", // abb august
       95 +                    "\u0441\u0435\u043d", // abb september
       96 +                    "\u043e\u043a\u0442", // abb october
       97 +                    "\u043d\u043e\u044f", // abb november
       98 +                    "\u0434\u0435\u043a", // abb december
       99 +                    "", // month 13 if applicable
      100 +                }
      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 +            },
      119 +/*
  51  120              { "MonthNames",
  52  121                  new String[] {
  53  122                      "\u042f\u043d\u0432\u0430\u0440\u044c", // january
  54  123                      "\u0424\u0435\u0432\u0440\u0430\u043b\u044c", // february
  55  124                      "\u041c\u0430\u0440\u0442", // march
  56  125                      "\u0410\u043f\u0440\u0435\u043b\u044c", // april
  57  126                      "\u041c\u0430\u0439", // may
  58  127                      "\u0418\u044e\u043d\u044c", // june
  59  128                      "\u0418\u044e\u043b\u044c", // july
  60  129                      "\u0410\u0432\u0433\u0443\u0441\u0442", // august
↓ open down ↓ 14 lines elided ↑ open up ↑
  75  144                      "\u0438\u044e\u043d", // abb june
  76  145                      "\u0438\u044e\u043b", // abb july
  77  146                      "\u0430\u0432\u0433", // abb august
  78  147                      "\u0441\u0435\u043d", // abb september
  79  148                      "\u043e\u043a\u0442", // abb october
  80  149                      "\u043d\u043e\u044f", // abb november
  81  150                      "\u0434\u0435\u043a", // abb december
  82  151                      "" // abb month 13 if applicable
  83  152                  }
  84  153              },
      154 +*/
  85  155              { "DayNames",
  86  156                  new String[] {
  87  157                      "\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435", // Sunday
  88  158                      "\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a", // Monday
  89  159                      "\u0432\u0442\u043e\u0440\u043d\u0438\u043a", // Tuesday
  90  160                      "\u0441\u0440\u0435\u0434\u0430", // Wednesday
  91  161                      "\u0447\u0435\u0442\u0432\u0435\u0440\u0433", // Thursday
  92  162                      "\u043f\u044f\u0442\u043d\u0438\u0446\u0430", // Friday
  93  163                      "\u0441\u0443\u0431\u0431\u043e\u0442\u0430" // Saturday
  94  164                  }
↓ open down ↓ 23 lines elided ↑ open up ↑
 118  188                      "%", // percent sign
 119  189                      "0", // native 0 digit
 120  190                      "#", // pattern digit
 121  191                      "-", // minus sign
 122  192                      "E", // exponential
 123  193                      "\u2030", // per mille
 124  194                      "\u221e", // infinity
 125  195                      "\ufffd" // NaN
 126  196                  }
 127  197              },
 128      -            { "DateTimePatterns",
      198 +            { "TimePatterns",
 129  199                  new String[] {
 130  200                      "H:mm:ss z", // full time pattern
 131  201                      "H:mm:ss z", // long time pattern
 132  202                      "H:mm:ss", // medium time pattern
 133  203                      "H:mm", // short time pattern
      204 +                }
      205 +            },
      206 +            { "DatePatterns",
      207 +                new String[] {
 134  208                      "d MMMM yyyy '\u0433.'", // full date pattern
 135  209                      "d MMMM yyyy '\u0433.'", // long date pattern
 136  210                      "dd.MM.yyyy", // medium date pattern
 137  211                      "dd.MM.yy", // short date pattern
      212 +                }
      213 +            },
      214 +            { "DateTimePatterns",
      215 +                new String[] {
 138  216                      "{1} {0}" // date-time pattern
 139  217                  }
 140  218              },
 141  219              { "DateTimePatternChars", "GanjkHmsSEDFwWxhKzZ" },
 142  220          };
 143  221      }
 144  222  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX