Date/Time Printing Can Be Elegant Too

I owe my pretty high StackOverflow reputation to this question in particular, which I asked a few years ago: How do you print an ISO 8601 date in Java? It managed to collect a lot of upvotes since then and 20+ answers, including my own one. Seriously, why didn���t Java, such a rich ecosystem, have a built-in out-of-the-box simple solution for this primitive task? I believe this is because the designers of the Java SDK were 1) smart enough not to create a print() method right in the class Date...

1 like ·   •  0 comments  •  flag
Share on Twitter
Published on September 26, 2019 17:00
No comments have been added yet.