/[classpath]/classpath/gnu/java/locale/LocaleInformation_en_HK.java
ViewVC logotype

Diff of /classpath/gnu/java/locale/LocaleInformation_en_HK.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mkoch, Sun Dec 26 15:06:15 2004 UTC revision 1.9 by mkoch, Wed Jan 5 07:22:27 2005 UTC
# Line 40  exception statement from your version. * Line 40  exception statement from your version. *
40    
41  package gnu.java.locale;  package gnu.java.locale;
42    
43    import java.util.Enumeration;
44    import java.util.Hashtable;
45    import java.util.StringTokenizer;
46  import java.util.ListResourceBundle;  import java.util.ListResourceBundle;
47    
48  public class LocaleInformation_en_HK extends ListResourceBundle  public class LocaleInformation_en_HK extends ListResourceBundle
49  {  {
50      private static final String currenciesDisplayNameKeys = "USD";
51    
52      private static final String currenciesDisplayNameValues = "USD";
53    
54      private static final Hashtable currenciesDisplayName;
55      static
56      {
57        currenciesDisplayName = new Hashtable();
58        Enumeration keys = new StringTokenizer(currenciesDisplayNameKeys, "|");
59        Enumeration values = new StringTokenizer(currenciesDisplayNameValues, "|");
60        while (keys.hasMoreElements())
61          {
62             String key = (String) keys.nextElement();
63             String value = (String) values.nextElement();
64             currenciesDisplayName.put(key, value);
65          }
66      }
67    
68      private static final String currenciesSymbolKeys = "HKD";
69    
70      private static final String currenciesSymbolValues = "$";
71    
72      private static final Hashtable currenciesSymbol;
73      static
74      {
75        currenciesSymbol = new Hashtable();
76        Enumeration keys = new StringTokenizer(currenciesSymbolKeys, "|");
77        Enumeration values = new StringTokenizer(currenciesSymbolValues, "|");
78        while (keys.hasMoreElements())
79          {
80             String key = (String) keys.nextElement();
81             String value = (String) values.nextElement();
82             currenciesSymbol.put(key, value);
83          }
84      }
85    
86    private static final Object[][] contents =    private static final Object[][] contents =
87    {    {
88      { "currencyFormat", "\u00a4#,##0.00;(\u00a4#,##0.00)" },      { "currencyFormat", "\u00a4#,##0.00;(\u00a4#,##0.00)" },
89        { "currenciesDisplayName", currenciesDisplayName },
90        { "currenciesSymbol", currenciesSymbol },
91      { "shortDateFormat", "dd/MM/yyyy" },      { "shortDateFormat", "dd/MM/yyyy" },
92      { "mediumDateFormat", "d MMM yyyy" },      { "mediumDateFormat", "d MMM yyyy" },
93      { "longDateFormat", "d MMMM yyyy" },      { "longDateFormat", "d MMMM yyyy" },

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26