I would like to get current week number and year. I tried following snippet

```
Calendar cal = new GregorianCalendar(Locale.GERMANY);
Date today = new Date();
cal.setTime(today);

int current_week = cal.get(Calendar.WEEK_OF_YEAR)
int year = cal.get(Calendar.YEAR)

```

For today's date(31st Dec 2019) Week number is **01 2020**
but above code gives **01 2019**.

How should I get Week number as **01 2020**?

Here 01 is week number and 2020 is year