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

Date.parse very flaky

XMLWordPrintable

    • 1.1.6
    • x86
    • windows_nt
    • Verified



        Name: bb33257 Date: 11/19/97


        Date.parse() works in general, but it has bizarre restrictions
        which are not documented. For example, the following strings
        work:

          9/7/97
          9/7/70
          9/7/1984

        But the following strings don't:

                    expected parse result
          9/7/69 9/7/1969 fail
          9/7/02 9/7/2002 fail
          9/7/400 9/7/400 9/7/2300

        ======================================================================

              bcbeck Brian Beck (Inactive)
              bcbeck Brian Beck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: