Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6765739

The java 1.4.2_15 Calendar add(DAY_OF_YEAR, 1) does not always increment the date for Brazil TZ.

XMLWordPrintable

    • b05
    • generic
    • generic
    • Verified

        The java 1.4.2_15 Calendar add(DAY_OF_YEAR, 1) does not always increment the date for Brazil time zone. The problem dates that do not increment are: 20081004 and 20081011.

        Code snippet:
                        Calendar tmpDate = (Calendar) earlestTime.clone();
                        .....

                        tmpDate.add(Calendar.DAY_OF_YEAR, 1); // problem

              coffeys Sean Coffey
              aperumai Asok Perumainar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: