Stylistically I'd suggest `final DateTimeFormatter isoformat;` as I then know that it isn't going to end up null and exactly one of those assignments below will happen -- no point making the reader thinking about the null case when it can never happen.

But, this isn't a blocker for the PR, just a FYI.