classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] More changes to GregorianCalendar


From: Sven de Marothy
Subject: [cp-patches] More changes to GregorianCalendar
Date: Mon, 31 Jan 2005 11:31:59 +0100

Now it works with insufficient data (e.g. YEAR and MONTH set, but not
DATE.). More leniency tests added. 

It still needs fixing for minimumDaysInFirstWeek settings, etc. But it's
moving forward.

2004-01-31  Sven de Marothy <address@hidden>

        * java/util/Calendar.java
        (clear): Set values to Epoch instead of zero.
        (set): Set isSet to the relevant field pattern instead of just the
field.
        * java/util/GregorianCalendar.java
        (getBundle): Removed.
        (getDayOfYear): Removed.
        (getFirstDayOfMonth): New private method.
        (nonLeniencyCheck): New private method.
        (computeTime): Correct handling of insufficient data.


Attachment: gc2.patch
Description: Text Data


reply via email to

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