src/share/classes/sun/text/resources/zh/FormatData_zh_HK.java

Print this page
rev 6352 : imported patch 7162007


  27  * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
  28  * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
  29  *
  30  * The original version of this source code and documentation
  31  * is copyrighted and owned by Taligent, Inc., a wholly-owned
  32  * subsidiary of IBM. These materials are provided under terms
  33  * of a License Agreement between Taligent and Sun. This technology
  34  * is protected by multiple US and International patents.
  35  *
  36  * This notice and attribution to Taligent may not be removed.
  37  * Taligent is a registered trademark of Taligent, Inc.
  38  *
  39  */
  40 
  41 package sun.text.resources.zh;
  42 
  43 import java.util.ListResourceBundle;
  44 import java.util.Locale;
  45 import java.util.ResourceBundle;
  46 import sun.util.locale.provider.LocaleProviderAdapter;

  47 
  48 public class FormatData_zh_HK extends ListResourceBundle {
  49 
  50     // reparent to zh_TW for traditional Chinese names
  51     public FormatData_zh_HK() {
  52         ResourceBundle bundle = LocaleProviderAdapter.forJRE().getLocaleData().getDateFormatData(Locale.TAIWAN);

  53         setParent(bundle);
  54     }
  55 
  56     /**
  57      * Overrides ListResourceBundle
  58      */
  59     @Override
  60     protected final Object[][] getContents() {
  61         return new Object[][] {
  62             { "MonthAbbreviations",
  63                 new String[] {
  64                     "1\u6708", // abb january
  65                     "2\u6708", // abb february
  66                     "3\u6708", // abb march
  67                     "4\u6708", // abb april
  68                     "5\u6708", // abb may
  69                     "6\u6708", // abb june
  70                     "7\u6708", // abb july
  71                     "8\u6708", // abb august
  72                     "9\u6708", // abb september




  27  * (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
  28  * (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
  29  *
  30  * The original version of this source code and documentation
  31  * is copyrighted and owned by Taligent, Inc., a wholly-owned
  32  * subsidiary of IBM. These materials are provided under terms
  33  * of a License Agreement between Taligent and Sun. This technology
  34  * is protected by multiple US and International patents.
  35  *
  36  * This notice and attribution to Taligent may not be removed.
  37  * Taligent is a registered trademark of Taligent, Inc.
  38  *
  39  */
  40 
  41 package sun.text.resources.zh;
  42 
  43 import java.util.ListResourceBundle;
  44 import java.util.Locale;
  45 import java.util.ResourceBundle;
  46 import sun.util.locale.provider.LocaleProviderAdapter;
  47 import sun.util.locale.provider.ResourceBundleBasedAdapter;
  48 
  49 public class FormatData_zh_HK extends ListResourceBundle {
  50 
  51     // reparent to zh_TW for traditional Chinese names
  52     public FormatData_zh_HK() {
  53         ResourceBundle bundle = ((ResourceBundleBasedAdapter)LocaleProviderAdapter.forJRE())
  54             .getLocaleData().getDateFormatData(Locale.TAIWAN);
  55         setParent(bundle);
  56     }
  57 
  58     /**
  59      * Overrides ListResourceBundle
  60      */
  61     @Override
  62     protected final Object[][] getContents() {
  63         return new Object[][] {
  64             { "MonthAbbreviations",
  65                 new String[] {
  66                     "1\u6708", // abb january
  67                     "2\u6708", // abb february
  68                     "3\u6708", // abb march
  69                     "4\u6708", // abb april
  70                     "5\u6708", // abb may
  71                     "6\u6708", // abb june
  72                     "7\u6708", // abb july
  73                     "8\u6708", // abb august
  74                     "9\u6708", // abb september