Deprecating the use of older Java date formatting code

2023-04-20 Thread Mike Thomsen
A new contributor raised some good questions on a PR: https://github.com/apache/nifi/pull/7169 I rebased this branch as we discussed in the original PR, but I see that meantime NiFi code become much more dependent on DateFormat. I see many public methods in DataTypeUtils taking or returning DateF

Re: Deprecating the use of older Java date formatting code

2023-04-21 Thread David Handermann
Mike, Thanks for bringing this up for discussion. One of the approved NiFi 2.0 Release Goals was upgrading internal Java API references [1] including moving to java.time components over java.util.Date. Jira Epic NIFI-9458 [2] is a general issue to cover this work. With that as background, moving