how to get/set the firstdate and lastdate selected in a tplannercalendargroup

How can I get/set the firstdate and lastdate selected in a tplannercalendargroup?

Selected dates are get/set via PlannerCalendarGroup.Dates collection.

First and last date are access via the first/last item of this PlannerCalendarGroup.Dates collection.

To set a range of selected dates:

  PlannerCalendarGroup1.Dates.Clear;
  PlannerCalendarGroup1.Dates.AddRange(Now, Now +10);
  PlannerCalendarGroup1.UpdateDates;