You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var vEvent = new Event
{
Summary = "BIO CLASS",//subject
Description = "Details at CLASS",//description of meeting
Location = "Building 101",//location
DtStart = new CalDateTime(DateTime.Parse("2017-06-01T08:00")),
DtEnd = new CalDateTime(DateTime.Parse("2017-06-01T09:30")),
RecurrenceRules = new List { new RecurrencePattern(FrequencyType.Daily, 1) },
};
//Define the exceptions: Sunday
var exceptionRule = new RecurrencePattern(FrequencyType.Weekly, 1)
{
ByDay = new List<IWeekDay> { new WeekDay(DayOfWeek.Sunday), new WeekDay(DayOfWeek.Saturday),
new WeekDay(DayOfWeek.Tuesday),new WeekDay(DayOfWeek.Thursday)}
};
vEvent.ExceptionRules = new List<IRecurrencePattern> { exceptionRule };
calendar.Events.Add(vEvent);
The text was updated successfully, but these errors were encountered:
var vEvent = new Event
{
Summary = "BIO CLASS",//subject
Description = "Details at CLASS",//description of meeting
Location = "Building 101",//location
DtStart = new CalDateTime(DateTime.Parse("2017-06-01T08:00")),
DtEnd = new CalDateTime(DateTime.Parse("2017-06-01T09:30")),
RecurrenceRules = new List { new RecurrencePattern(FrequencyType.Daily, 1) },
};
The text was updated successfully, but these errors were encountered: