From fcd5d3ed60dbef4a7ffc14dd032948b748adcc07 Mon Sep 17 00:00:00 2001 From: tromey Date: Thu, 10 May 2001 18:13:17 +0000 Subject: 2001-05-10 Tom Tromey * java/util/GregorianCalendar.java: Imported from Classpath. * gnu/java/locale/LocaleInformation_nl.java: New file from Classpath. * gnu/java/locale/LocaleInformation_en.java: Likewise. * gnu/java/locale/LocaleInformation_de.java: Likewise. * gnu/java/locale/LocaleInformation.java: Likewise. * natGregorianCalendar.cc: Removed. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Removed natGregorianCalendar.cc. 2001-05-10 Tom Tromey * java/text/SimpleDateFormat.java (computeCenturyStart): New method. (defaultCenturyStart): Use it. (readObject): Likewise. (SimpleDateFormat): Clear the calendar. Set the grouping on the number format. (parse): Copy the calendar before modifying it. Correctly handle the time zone. * java/util/Calendar.java (clear): Set field value(s) to 0. 2001-05-10 Jeff Sturm * Calendar.java (get): Clear areFieldsSet if requested field is not set. (set): Unset fields that depend on new value. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41942 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/gnu/java/locale/LocaleInformation.java | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 libjava/gnu/java/locale/LocaleInformation.java (limited to 'libjava/gnu/java/locale/LocaleInformation.java') diff --git a/libjava/gnu/java/locale/LocaleInformation.java b/libjava/gnu/java/locale/LocaleInformation.java new file mode 100644 index 00000000000..452820a18f6 --- /dev/null +++ b/libjava/gnu/java/locale/LocaleInformation.java @@ -0,0 +1,37 @@ +/* LocaleInformation.java -- Default locale information + Copyright (C) 1998 Free Software Foundation, Inc. + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +02111-1307 USA. + +As a special exception, if you link this library with other files to +produce an executable, this library does not by itself cause the +resulting executable to be covered by the GNU General Public License. +This exception does not however invalidate any other reasons why the +executable file might be covered by the GNU General Public License. */ + + +package gnu.java.locale; + +/** + * This is the resource bundle for the default locale, which right now is + * hardcoded to US English. + */ +public class LocaleInformation extends LocaleInformation_en +{ +} + -- cgit v1.2.1