Consider Weekend and Holidays
All scripts in todo4teams have access to the helper-object "helper".
With help of the the two methods isWeekend and isHoliday can be determined, if a date may be a sunday or a public holiday. The latter can have a fixed date or it can be determined by the Gaussian Easter-Formula. Regional relevant public holidays will not be taken into consideration. Here is an example for the Select-Action within a group determining if the target time will be a sunday or a public holiday:
{
helper.infoMessage("Die Zielzeit ist ein Wochende!")
}
if (helper.isHoliday(taskPanel.getEndDate()))
{
helper.infoMessage("Die Zielzeit ist ein Feiertag!")
}