I need to determine the current year in Java as an integer. I could just use java.util.Date(), but it is deprecated.

15 Answers
15

Leave a Reply

Your email address will not be published. Required fields are marked *