5 thoughts
last posted Feb. 27, 2016, 12:54 p.m.

4 earlier thoughts


The Datetime Library strikes back

I wonder whether a language will ever exist that has good, in-built support for datetime objects.

So here's the latest gem I discovered in util.Date:

So basically getYear() returns 116 for this year (2016). I don't know who would use it today, or why it was ever built like that, or what sort of backwards compatibility demon forces us to keep it there.


Apparently people these days use things like Joda.