classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] SimpleDateFormat.computeOffset


From: Sven de Marothy
Subject: [cp-patches] SimpleDateFormat.computeOffset
Date: Mon, 16 May 2005 05:17:55 +0200

This fixes a pair of bugs (Savannah #13058) with SimpleDateFormat's
computeOffset method. 
First off, the parse position wasn't advanced. Secondly the way the
regexp was used, required the timezone to be an exact match. (so if the
timezone was first in the date string, trailing parts would cause an
mismatch and an error)

2005-05-16  Sven de Marothy  <address@hidden>
        * java/text/SimpleDateFormat (computeOffset): Handle leading timezones
correctly.

Attachment: SimpleDateFormat.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]