Create an all-day event using Google Calendar API
.net, c#, google-calendar-api
Solution
Add a new time with `AllDay` set to true:
var entry = new EventEntry(title, description, "");
var time = new When();
time.StartTime = start;
time.AllDay = true;
entry.Times.Add(time);
Problem
Iam working with C# and the Google Calendar API classes "CalendarService" and "Event". I want to upload an event to Google Calendar without any date (all-day). If i don't set the Event.End property, I get an exception. How can I set my event as an all-day event ? I've searched for a long time, without any solution...