Example #1
0
 private static bool ForGroup(iCalVEvent ev, GroupId groupId)
 {
     return(ev.Description.Contains($"INFO3 {Groups[(int) groupId]}"));
 }
Example #2
0
 private static bool IsCurrentEvent(DateTime now, iCalVEvent ev)
 {
     return(ev.DTStart.Date == now.Date && ev.DTEnd.Date == now.Date &&
            ev.DTStart.TimeOfDay <= now.TimeOfDay && ev.DTEnd.TimeOfDay >= now.TimeOfDay);
 }