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

XMLWordPrintable

    • b17
    • x86_64
    • windows_10
    • Verified

      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


            Assignee:
            Justin Lu
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: