Browse our Products

Aspose.Tasks for C++ 26.3 Release Notes

All Changes

KeySummaryIssue Type
TASKSNET-11596Fix CalendarException.ToDate property setter logicEnhancement
TASKSNET-11682Fix writing of EarnedValueMethod and PhysicalPercentComplete fields to MPP formatBug
TASKSNET-11680Fix incorrect calculation of formula with absent Date fields valuesBug
TASKSNET-11631Fix Activity Codes and User Defined Fields are not read when project is read from Primavera DBBug

Related issue: TASKSNET-11596 - Fix CalendarException.ToDate property setter logic.

Starting with version 26.3, when a CalendarException is created and the ToDate property is specified without a time part, the ToDate property is set to the end of the day.

auto p = MakeObject<Project>();
p->set(Prj::StartDate(), DateTime(2025, 10, 15, 8, 0, 0));

auto exc = MakeObject<CalendarException>();
exc->set_DayWorking(false);
exc->set_Occurrences(1);
exc->set_Type(CalendarExceptionType::Daily);
exc->set_Period(1);
exc->set_EnteredByOccurrences(true);

exc->set_FromDate(DateTime(2025, 10, 16));
exc->set_ToDate(DateTime(2025, 10, 16)); // ToDate is set to 2025-10-16 23:59:00). Prior to 26.3 it was set to 2025-10-16 00:00:00.
p->get_Calendar()->get_Exceptions()->Add(exc);