From ed55bdc47f78302e9f7271300cef11be655bccc0 Mon Sep 17 00:00:00 2001 From: Warren Levy Date: Thu, 28 Dec 2000 05:55:56 +0000 Subject: re PR libgcj/1358 (java.util.Date.toString() doesn't seem to behave properly.) Fix for PR libgcj/1358: * java/lang/System.java: Update Copyright date properly. * java/util/Calendar.java: Fix typo in comment. (set): Set 24-hour clock hour instead of 12-hour clock hour. * java/util/GregorianCalendar.java (GregorianCalendar): Properly initialize times. Spec says to set H:M:S values to zero only if a date is given. * java/util/TimeZone.java (getDefaultDisplayName): Casts to char needed for evaluating numbers '0' to '9' in printouts of GMT offsets. * java/util/natGregorianCalendar.cc (computeTime): Properly handle timezones and GMT offsets, being careful to account for units of milliseconds vs. seconds. From-SVN: r38508 --- libjava/java/lang/System.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libjava/java/lang/System.java') diff --git a/libjava/java/lang/System.java b/libjava/java/lang/System.java index 59787099..ab1ca99 100644 --- a/libjava/java/lang/System.java +++ b/libjava/java/lang/System.java @@ -1,6 +1,6 @@ // System.java - System-specific info. -/* Copyright (C) 1998, 1999 Free Software Foundation +/* Copyright (C) 1998, 1999, 2000 Free Software Foundation This file is part of libgcj. -- cgit v1.1