I have this code :
Calendar sDateCalendar = Calendar.getInstance(Locale.GERMANY);
int CurrentWeek = sDateCalendar.get(Calendar.WEEK_OF_YEAR);
int Year = sDateCalendar.get(Calendar.YEAR);
when the date is ,for example, 29/12/2014
CurrentWeek variable will be 1 because the first week in 2015 is from : December 29, 2014 to : January 4, 2015 BUT the Year variable will have 2014 and not 2015
Can you please help me resolving this issue ?