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 Tags: datedatetimejava