[kaffe] Fwd: [freenet-dev] [PATCH] GregorianCalendar.add()

Oskar Sandberg oskar at freenetproject.org
Wed Nov 6 10:19:07 PST 2002


I don't think this post got through to this list. It fixes a bug that 
causes the Calendar to return the same time values even when times are 
added.

----- Forwarded message from Mark J Roberts <mjr at znex.org> -----

Delivery-date: Wed, 06 Nov 2002 01:19:21 +0100
From: Mark J Roberts <mjr at znex.org>
To: kaffe at kaffe.org
Cc: devl at freenetproject.org
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Subject: [freenet-dev] [PATCH] GregorianCalendar.add()
Sender: devl-admin at freenetproject.org
Reply-To: devl at freenetproject.org
List-Post: <mailto:devl at freenetproject.org>
List-Id: Discussion of development issues <devl.freenetproject.org>
List-Archive: <http://hawk.freenetproject.org/pipermail/devl/>
Date: Tue, 5 Nov 2002 17:56:26 -0600
Lines: 15

--- libraries/javalib/java/util/GregorianCalendar.java
+++ libraries/javalib/java/util/GregorianCalendar.java
@@ -74,6 +74,7 @@
 		computeFields();
 	}
 	fields[field] += amount;
+	isTimeSet = false;
 	computeTime();
 	computeFields();
 }

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

----- End forwarded message -----

-- 

Oskar Sandberg
oskar at freenetproject.org




More information about the kaffe mailing list