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

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

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

revision 1.9 by mkoch, Thu Dec 30 21:55:10 2004 UTC revision 1.10 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_SG extends ListResourceBundle  public class LocaleInformation_en_SG 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 = "SGD";
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 String[][] zoneStrings =    private static final String[][] zoneStrings =
87    {    {
88      { "SST", "Singapore Standard Time", "SST", "Singapore Standard Time",  "Pacific/Guadalcanal" },      { "SST", "Singapore Standard Time", "SST", "Singapore Standard Time",  "Pacific/Guadalcanal" },
# Line 51  public class LocaleInformation_en_SG ext Line 90  public class LocaleInformation_en_SG ext
90    
91    private static final Object[][] contents =    private static final Object[][] contents =
92    {    {
93        { "currenciesDisplayName", currenciesDisplayName },
94        { "currenciesSymbol", currenciesSymbol },
95      { "shortDateFormat", "dd/MM/yyyy" },      { "shortDateFormat", "dd/MM/yyyy" },
96      { "mediumDateFormat", "dd MMM yyyy" },      { "mediumDateFormat", "dd MMM yyyy" },
97      { "longDateFormat", "dd MMMM yyyy" },      { "longDateFormat", "dd MMMM yyyy" },

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

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