Closed nremond closed 7 years ago
Hello,
Thank you for your pull request. As we are using Java 8, we would prefer to use java.time.format.DateTimeFormatter over joda time.
That being said, OutputFilesPattern instances are never involved in multi-threaded contexts, so using SimpleDateFormat is not an immediate problem. It could arise if the class is badly used in future developments.
OK, I can migrate that code to Java 8
What do you think of that? I migrated the code to only use java.time
package
Thanks for this PR, it looks good. If you'd be willing to change those fields' names, we'll gladly merge it!
Done and rebased everything in a single commit.
Merged, thank you!
It's preferable as the class is not thread-safe, cf: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html#synchronization.