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

Changing Date to String and String to Date back couse loss of One Year

XMLWordPrintable

    • generic
    • generic

      Changing Date to String and String to Date back using simpleDateFormat causes loss of One Year.

      Steps to reproduce:
      --------------------
      1) Compile and run the attached test case.
      2) The output will show Delta of -364 days.

            okutsu Masayoshi Okutsu
            mjoshisunw Mayank Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: