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

Calendar.roll(int field) does not work correctly for WEEK_OF_YEAR

    XMLWordPrintable

    Details

      Description

      A DESCRIPTION OF THE PROBLEM :
      When the current date is "Monday, 30 December 2019" and you roll +1 the WEEK_OF_YEAR field, the result gets "Monday, 31 December 2018" which is completely wrong and violating the rule of "Not Changing The Larger Fields". The desired result is "Tuesday, 1 January 2019" (like WEEK_OF_MONTH behavior in rolling).


      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              naoto Naoto Sato
              Reporter:
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated: