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_vi.java
          +++ new/src/share/classes/sun/text/resources/vi/FormatData_vi.java
   1    1  /*
   2      - * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
        2 + * Copyright (c) 2003, 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 ↓ 20 lines elided ↑ open up ↑
  33   33   * US and International patents. This notice and attribution to IBM may not    *
  34   34   * to removed.                                                                 *
  35   35   *******************************************************************************
  36   36   *
  37   37   * This locale data is based on the ICU's Vietnamese locale data (rev. 1.38)
  38   38   * found at:
  39   39   *
  40   40   * http://oss.software.ibm.com/cvs/icu/icu/source/data/locales/vi.txt?rev=1.38
  41   41   */
  42   42  
  43      -package sun.text.resources;
       43 +package sun.text.resources.vi;
  44   44  
  45   45  import java.util.ListResourceBundle;
  46   46  
  47   47  public class FormatData_vi extends ListResourceBundle {
  48   48      /**
  49   49       * Overrides ListResourceBundle
  50   50       */
  51   51      protected final Object[][] getContents() {
  52   52          return new Object[][] {
  53   53              { "MonthNames",
↓ open down ↓ 72 lines elided ↑ open up ↑
 126  126                      "%", // percent sign
 127  127                      "0", // native 0 digit
 128  128                      "#", // pattern digit
 129  129                      "-", // minus sign
 130  130                      "E", // exponential
 131  131                      "\u2030", // per mille
 132  132                      "\u221e", // infinity
 133  133                      "\ufffd" // NaN
 134  134                  }
 135  135              },
 136      -            { "DateTimePatterns",
      136 +            { "TimePatterns",
 137  137                  new String[] {
 138  138                      "HH:mm:ss z", // full time pattern
 139  139                      "HH:mm:ss z", // long time pattern
 140  140                      "HH:mm:ss", // medium time pattern
 141  141                      "HH:mm", // short time pattern
      142 +                }
      143 +            },
      144 +            { "DatePatterns",
      145 +                new String[] {
 142  146                      "EEEE, 'ng\u00E0y' dd MMMM 'n\u0103m' yyyy", // full date pattern
 143  147                      "'Ng\u00E0y' dd 'th\u00E1ng' M 'n\u0103m' yyyy", // long date pattern
 144  148                      "dd-MM-yyyy", // medium date pattern
 145  149                      "dd/MM/yyyy", // short date pattern
      150 +                }
      151 +            },
      152 +            { "DateTimePatterns",
      153 +                new String[] {
 146  154                      "{0} {1}" // date-time pattern
 147  155                  }
 148  156              },
 149  157          };
 150  158      }
 151  159  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX