GregorianCalendar.java (computeTime): Skip buggy formulae when we already know the...
authorJerry Quinn <jlquinn@optonline.net>
Fri, 11 Jun 2004 05:54:02 +0000 (05:54 +0000)
committerJerry Quinn <jlquinn@gcc.gnu.org>
Fri, 11 Jun 2004 05:54:02 +0000 (05:54 +0000)
commitb092552d60a2edc2ae9f7165229092157caf0953
tree1cc396721d8174e4254540f66861e8d0c9deca21
parentafeebbc08ead47e1305c69c6129b7abc739ef4b1
GregorianCalendar.java (computeTime): Skip buggy formulae when we already know the answer.

2004-06-11  Jerry Quinn  <jlquinn@optonline.net>

* java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
when we already know the answer.
* java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
(setStartRule,setEndRule): Don't take abs of day number.
(getOffset): Clarify docs.  Add argument checks.
(isBefore): Take abs of day number in DOW_LE_DOM_MODE.
(equals,hasSameRules,toString,readObject): Use startTimeMode and
endTimeMode.

From-SVN: r82962
libjava/ChangeLog
libjava/java/util/GregorianCalendar.java
libjava/java/util/SimpleTimeZone.java