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

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • deferred
    • None
    • Back End, clean ups
    • None

      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.

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

                Created:
                Updated: