Exemple #1
0
 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;
 }
Exemple #2
0
 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;
 }