title: Calendar Service: Store and retrieve events using PropertiesService
body: <p>This code</p>
  
  <pre><code>var cal = CalendarApp.getCalendarById("Calendar Id");
  var startTime = new Date(1850, 0, 1);
  var endTime = new Date(2100, 0, 1);
  var events = cal.getEvents(startTime, endTime);
  Logger.log(events);
  var sp = PropertiesService.getScriptProperties();
  sp.setProperty("events", JSON.stringify(events));
  events = JSON.parse(sp.getProperty("events"));
  Logger.log(events);
  </code></pre>
  
  <p>returns:</p>
  
  <pre><code>Info [CalendarEvent, CalendarEvent, CalendarEvent, CalendarEvent, CalendarEvent]
  Info [{}, {}, {}, {}, {}]
  </code></pre>
  
  <p>Why is that? What is wrong?</p>