I use calendar.init(startDate, endDate, new SimpleDateFormat("MMMM, YYYY", Locale.GERMANY)) for formatting the month header. The year after december 2020 will change the first time in february to 2021 but not in january.
Locale.getDefault() or Locale.ENGLISH works correct.
startDate = 2020-01-01
endDate = 2021-01-15 // or // 2021-02-15
Hi,
I use
calendar.init(startDate, endDate, new SimpleDateFormat("MMMM, YYYY", Locale.GERMANY))
for formatting the month header. The year after december 2020 will change the first time in february to 2021 but not in january.Locale.getDefault() or Locale.ENGLISH works correct.