I'm actually looking for a solution to get the years week count in Java 8, using the java.time package.
With the old methods, it was simply calling:
Calendar#getActualMaximum(Calendar.WEEK_OF_YEAR)
But I cant find a similar solution for java.time...