[Top][All Lists]

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

classpath ./ChangeLog java/util/ j...

From: Bryce McKinlay
Subject: classpath ./ChangeLog java/util/ j...
Date: Thu, 26 Jul 2001 19:06:38 -0700

CVSROOT:        /cvs
Module name:    classpath
Changes by:     Bryce McKinlay <address@hidden> 01/07/26 19:06:38

Modified files:
        .              : ChangeLog 
        java/util      : 
        java/text      : 

Log message:
        * java/util/ (set): Never recompute fields here. They
        will already be set if someone set time explicitly, and it can cause
        problems to do so. Don't invalidate AM_PM setting if HOUR is set.
        * java/util/ (computeTime): Don't ignore an
        HOUR setting if AM_PM is set. Don't try to ensure the HOUR value is
        * java/text/ (defaultCentury): New field.
        (readObject): Call set2DigitYearStart if appropriate so that
        defaultCentury is calculated.
        (SimpleDateFormat): Don't bother clearing calendar here. Call
        (set2DigitYearStart): Calculate and set defaultCentury.
        (format): Don't clone the calendar. Use "calendar" not "theCalendar"
        (parse): Likewise. If the pattern is "y" or "yy" and it found exactly
        2 numeric digits, use the 80-20 heuristic to parse the value into a
        default century based on defaultCenturyStart.
        (computeCenturyStart): Rewritten. Call set2DigitYearStart().


reply via email to

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