Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-1048

Look into JodaTime or new Java 8 time instead of ICU for handling date/time/dateTime

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: deferred
    • Component/s: Back End, clean ups
    • Labels:
      None

      Description

      ICU's date/time classes are not serializable or thread-safe. Serializability isn't a big deal (we can alwrays wrap it in similar to how we handle DFDLCharset), but thread safetey is a pain to have to deal with. We end up with lots of ThreadLocal variables, and if we miss any, we've got a hard to find race condition.

      JodaTime looks promising. It's formatters don't appear to be serializable, but they are thread safe and immutable.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:

                  Tasks