New answers tagged

3

A few things I noticed: Quite a few of your variables can be marked final. From my understanding pretty much any variable where the underlying object doesn't get reassigned to a new object. Instead of 3 separate variable for the time parts, you could use java.time.LocalTime to hold the time parts. Not only does this reduce your code, but it simplifies ...


Top 50 recent answers are included