Java tasks working time v22.11

Hello,

I use Java version of Tasks.

With v22.10 this code generate a 24/7 working calendar, but with 22.11 all days are Nonworking

        Project project = new Project();

        Calendar cal = project.getCalendars().add("MyCalendar");

        cal = Calendar.makeStandardCalendar(cal);

        cal.getWeekDays().add(WeekDay.createDefaultWorkingDay(DayType.Saturday));
        cal.getWeekDays().add(WeekDay.createDefaultWorkingDay(DayType.Sunday));

        project.set(Prj.CALENDAR, cal);
        project.set(Prj.WEEK_START_DAY, DayType.Monday);
        project.set(Prj.NEW_TASK_START_DATE, TaskStartDateType.Undefined);
        project.set(Prj.CURRENCY_CODE, "EUR");

Can you check if it’s a bug or give me a way to solve that.

Regards,

@fcharlet,
looks like the issue have been already reported in this topic.

We will fix it in both .NET and Java versions 23.1 (will be released in January 2023).

Also you can find a temporary workaround in topic mentioned above.