title: Bind selectedDates Aggregation for Calendar
body: <p>I tried to bind an array of dates to <a href="https://openui5.hana.ondemand.com/#/api/sap.ui.unified.Calendar" rel="nofollow noreferrer">sap.ui.unified.Calendar</a> but without success. I am sure I am not far from the solution.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>var oCal = new sap.ui.unified.Calendar();
  var oModel2 = new sap.ui.model.json.JSONModel([
      {myDate: new Date("2018-01-10"), tt:""},
      {myDate: new Date("2018-01-11"), tt:""},
      {myDate: new Date("2018-01-12"), tt:""},
  ]);
  sap.ui.getCore().setModel(oModel, "MyData3");
  var oItemTemplate = new sap.ui.unified.DateRange({
      startDate: "{MyData3&gt;myDate}",
      endDate: "{MyData3&gt;myDate}"
  });     
  oCal.bindAggregation("selectedDates", "MyData3&gt;/", oItemTemplate);
  </code></pre>
  
  <p>I don't get any exception. The model has the data filled with 3 objects of type Date but I do not have those 3 dates pre-selected in the calendar.</p>
  
  <p>If I fill the <code>selectedDates</code> aggregation manually (without binding) it will select those 3 dates.</p>