GregorianCalendar.roll

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 1.1.4, 1.1.5
    • Component/s: core-libs
    • x86, sparc
    • solaris_2.5.1, windows_95



      Name: diC59631 Date: 09/26/97


      GregorianCalendar c = new GregorianCalendar();
      loop
      c.roll(GregorianCalendar.DATE,true);
      end loop

      This does not work over a month boundary. It
      fails to update the month. (Rolling down does
      the same thing.) Therefore after August 31, we go
      to August 1 instead of September 1.

      I am using JavaWorkshop 2 and my classpath has
      jdk1.1.4/lib/classes.zip before the
      JDK/lib/classes.zip
      ======================================================================

            Assignee:
            Alan Liu (Inactive)
            Reporter:
            Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: