Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3584

DateTimeFieldLenientImpl: Migrate from SimpleDateFormat to DateTimeFormatter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • dom

    Description

      SimpleDateFormat is instanciated for each invocation of DateTimeFieldLenientImpl::parse because SimpleDateFormat is not thread safe.

      Using DateTimeFormatter would allow us to initialize it once at class-loading time.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: