Hey dmitry@capbpm.com,
Sorry for the delayed response, and thank you for the extended explanation.
Unfortunately, we're stuck with SimpleDateFormat. The reason is that, even though we dropped Java 7 support, we still guarantee that java.util.Date instances can be converted to the internal DateValue class of our DMN Engine. Furthermore, we still support our legacy (JUEL-based) FEEL engine that accepts Java 7 Dates.
From what I could see, the Java 8 DateTimeFormatter doesn't accept Java 7 Date instances, so we would have to overhaul a lot of the Date-handling logic inside the DMN Engine to make sure that everything works correctly. We would also have to drop some of the above-mentioned guarantees. We discussed this internally, and at the moment, this is not a priority.
So, I'm going with the implementation you originally submitted, merging the PR and closing this ticket.
Best,
Nikola
Hey Dmitry,
After finishing the 7.13 release, I reviewed the PR you submitted again. It would be useful if you provided some more information on why this issue occurs here (explanation, a stack trace), and why your solution works.
I also added some suggestions for code additions in the PR.
Best,
Nikola