JoyOfCoding icon indicating copy to clipboard operation
JoyOfCoding copied to clipboard

Use java.time objects for the projects

Open DavidWhitlock opened this issue 5 years ago • 1 comments

The Date and SimpleDateFormat classes are old and there is a lot of deprecated functionality. In Project 3, students are finding that the date parsing isn't strict enough, which is leading to a lot of confusion. I should explore replacing Date in the abstract application classes with something form the java.time package.

DavidWhitlock avatar Jul 20 '19 12:07 DavidWhitlock

Hi David, I've messed around a bit with ZonedDateTime over in my repository. I initially used LocalDateTime but found that it defaulted to a timezone that did not print correctly, so I changed to ZonedDateTime.

abluescarab avatar Jul 14 '22 22:07 abluescarab