From a22add726841748f6c4051f8d9b4278ba5ddbce9 Mon Sep 17 00:00:00 2001 From: Warren Levy Date: Tue, 28 Nov 2000 03:09:22 +0000 Subject: Makefile.am: Added natTimeZone.cc. * Makefile.am: Added natTimeZone.cc. * Makefile.in: Rebuilt. * gnu/gcj/text/LocaleData_en.java: Added DateFormat entries. * java/text/DateFormatSymbols.java (ampms): Made package private. (eras): Made package private. (months): Made package private. (shortMonths): Made package private. (shortWeekdays): Made package private. (weekdays): Made package private. (formatPrefixes): New private field. (localPatternCharsDefault): Made private. (dateFormats): New package private field. (timeFormats): New package private field. (formatsForKey): New private method. (DateFormatSymbols(Locale)): Set dateFormats and timeFormats. (DateFormatSymbols(DateFormatSymbols)): Ditto. * java/text/SimpleDateFormat.java: Merged with Classpath. * java/util/TimeZone.java: Merged with Classpath. * java/util/natTimeZone.cc: New file. From-SVN: r37808 --- libjava/gnu/gcj/text/LocaleData_en.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libjava/gnu') diff --git a/libjava/gnu/gcj/text/LocaleData_en.java b/libjava/gnu/gcj/text/LocaleData_en.java index cd13db0..c24c1121 100644 --- a/libjava/gnu/gcj/text/LocaleData_en.java +++ b/libjava/gnu/gcj/text/LocaleData_en.java @@ -68,6 +68,16 @@ public final class LocaleData_en extends ListResourceBundle { "shortWeekdays", shortWeekdaysDefault }, { "weekdays", weekdaysDefault }, + // These are for DateFormat. + { "shortDateFormat", "M/d/yy" }, // Java's Y2K bug. + { "mediumDateFormat", "d-MMM-yy" }, + { "longDateFormat", "MMMM d, yyyy" }, + { "fullDateFormat", "EEEE MMMM d, yyyy G" }, + { "shortTimeFormat", "h:mm a" }, + { "mediumTimeFormat", "h:mm:ss a" }, + { "longTimeFormat", "h:mm:ss a z" }, + { "fullTimeFormat", "h:mm:ss;S 'o''clock' a z" }, + // For RuleBasedCollator. // FIXME: this is nowhere near complete. // In particular we must mark accents as ignorable, -- cgit v1.1