29 August 2016

IT'funQ.031

What is it'funq ?

"Date class however has numerous flaws: (...) It does not represent... date. Seriously, officially date is "[...] the day of the month or year as specified by a number [...]" whereas in Java it represents point in time without any specific calendar (day/month/year). It has 20+ deprecated methods, including getYear(), parse(String), and many constructors. These methods are deprecated for a reason, because they lead you to believe Date represents, you know, date."
Author: Tomasz Nurkiewicz