public Timeslot(Day day, int startHour, int startMinute, int endHour, int endMinute, string title, string brief, bool hasSessions) : this(day, startHour, startMinute, endHour, endMinute, title, brief) { HasSessions = hasSessions; }
public Timeslot(Day day, int startHour, int startMinute, int endHour, int endMinute, string title, string brief) : this() { StartTime = new DateTime(day.Date.Year, day.Date.Month, day.Date.Day, startHour, startMinute, 00); EndTime = new DateTime(day.Date.Year, day.Date.Month, day.Date.Day, endHour, endMinute, 00); Title = title; Brief = brief; HasSessions = false; }