Closed MarkFried closed 6 years ago
I will look into this. Thanks.
The method ManagerParameters.create(Locale.GERMAN)
can't find a country from the provided Locale. It subsequently uses the system default locale. You could fix this by using Locale.GERMANY
or the class HolidayCalendars.GERMANY
. I will make the code fall back to the language.
See following snippet:
The resulting set is correct as long as the default locale of the system is GERMAN, but wrong as soon as it is run with a different system/default locale.
The result should always be the german holidays regardless of the system's locale.