diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-01-23 02:11:56 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2005-01-23 02:11:56 +0000 |
commit | 54b34ad71c44aa74d63b15d8be5193177a996dec (patch) | |
tree | 1daf40b75542c4259955fd237718af4a77e7fe51 /gnu | |
parent | 1241e47daf6acc627cc6f2f81306d3ae17857123 (diff) | |
download | classpath-54b34ad71c44aa74d63b15d8be5193177a996dec.tar.gz |
2005-01-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/locale/LocaleInformation.java:
Extended localPatternChars string to match root.xml.
* gnu/java/locale/LocaleInformation_en.java:
Removed invalid localPatternChars string.
* gnu/java/locale/LocaleInformation_nl.java:
Likewise.
* java/text/DateFormat.java:
Documented pattern character offset constants and
added new ones.
(Field): Added new static fields for new pattern chars.
* java/text/SimpleDateFormat.java:
(CompiledField): Changed name of FieldSizePair class
to CompiledField after adding the character as an
attribute. Changed fields to private and added
accessors to give encapsulation.
(CompiledField.CompiledField(int,int,char)): Extended
with character field.
(CompiledField.getField()): New accessor method.
(CompiledField.getSize()): New acceessor method.
(CompiledField.getCharacter()): New accessor method.
(CompiledField.toString()): Added primarily for debugging.
(standardChars): Now uses extended 24 character sequence.
(compileFormat(String)): Changed to use CompiledField.
(formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
java.text.FieldPosition)): Changed to use CompiledField.
New handler for RFC 822 timezones added.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/java/locale/LocaleInformation.java | 2 | ||||
-rw-r--r-- | gnu/java/locale/LocaleInformation_en.java | 1 | ||||
-rw-r--r-- | gnu/java/locale/LocaleInformation_nl.java | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/gnu/java/locale/LocaleInformation.java b/gnu/java/locale/LocaleInformation.java index c4bb1bf39..782b1e8ee 100644 --- a/gnu/java/locale/LocaleInformation.java +++ b/gnu/java/locale/LocaleInformation.java @@ -113,7 +113,7 @@ public class LocaleInformation extends ListResourceBundle private static final Object[][] contents = { - { "localPatternChars", "GyMdkHmsSEDFwWahKz" }, + { "localPatternChars", "GyMdkHmsSEDFwWahKzYeugAZ" }, { "currencySymbols", currencySymbols }, { "decimalSeparator", "." }, { "groupingSeparator", "," }, diff --git a/gnu/java/locale/LocaleInformation_en.java b/gnu/java/locale/LocaleInformation_en.java index daec52564..c3500c684 100644 --- a/gnu/java/locale/LocaleInformation_en.java +++ b/gnu/java/locale/LocaleInformation_en.java @@ -241,7 +241,6 @@ public class LocaleInformation_en extends ListResourceBundle { "eras", eras }, { "shortDateFormat", "M/d/yy" }, { "mediumDateFormat", "MMM d, yyyy" }, - { "localPatternChars", "GyMdkHmsSEDFwWahKz" }, { "longDateFormat", "MMMM d, yyyy" }, { "fullDateFormat", "EEEE, MMMM d, yyyy" }, { "shortTimeFormat", "h:mm a" }, diff --git a/gnu/java/locale/LocaleInformation_nl.java b/gnu/java/locale/LocaleInformation_nl.java index e54e8c999..8a6e7d454 100644 --- a/gnu/java/locale/LocaleInformation_nl.java +++ b/gnu/java/locale/LocaleInformation_nl.java @@ -224,7 +224,6 @@ public class LocaleInformation_nl extends ListResourceBundle private static final Object[][] contents = { { "collation_rules", collation_rules }, - { "localPatternChars", "GyMdhHmsSEDFwWakKz" }, { "decimalSeparator", "," }, { "groupingSeparator", "." }, { "currenciesDisplayName", currenciesDisplayName }, |