Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-950

FastDateParser does not handle two digit year parsing like SimpleDateFormat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.3
    • None
    • None

    Description

      SimpleDateFormat has a set2DigitYearStart(Date startDate) method to determine the start of the default century. FastDateParser uses a static 80 years in the past as the default century start.

      The application should be able to set the default century as part of the constructor.

      Attachments

        Activity

          People

            chonton Charles Honton
            chonton Charles Honton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: