Patch: Calendar fixes

Bryce McKinlay mckinlay@redhat.com
Fri Oct 8 23:32:00 GMT 2004


This patch fixes some small Calendar problems, including the DST 
rollover issue reported by Martin Egholm Nielsen. Calendar.set did not 
invalidate the DST_OFFSET field even though changing other fields could 
roll the time over a DST boundary. Thus, computeTime() would apply the 
DST offset to the resulting Date value even if the date was no longer in 
a DST period. I've checked in a mauve test for this issue. Also, this 
patch contains a minor spec fix for GregorianCalendar.add().

Bryce


-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjava-calendar.patch
Type: text/x-patch
Size: 2606 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20041008/beba5b65/attachment.bin>


More information about the Java-patches mailing list