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

DateFormat.parse wrong for German locale?

XMLWordPrintable

    • 1.1.6
    • generic
    • windows_95
    • Verified

        In some situations, the gregorian calender has problems with leap years.
        An extremly example is the 29.02.1700 (german format). Java convert this
        date in a 3600 year! Also the summertime is not correct handled.

        Use DateTimeDemo.java in jdk1.1.4/demo/i18n/code to reproduce.

        set locale to Deutschland
        set Date Format
        set Date Style short
        enter 29.2.1700

              joconnersunw John Oconner (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: