public Course(string name, int lecturesPerWeek, DateTime startingDate) { this.Name = name; this.LecturesPerWeek = lecturesPerWeek; this.StartingDate = startingDate; this.EndingDate = StartingDate.AddDays(30); this.OnsiteStudents = new List <IStudent>(); this.OnlineStudents = new List <IStudent>(); this.Lectures = new List <ILecture>(); }
public PriceList() { StartingDate = DateTime.Now; ExpirationDate = StartingDate.AddDays(356); }
private DateTime CalculateEndingDate() { return(StartingDate.AddDays(30)); }
public Catalog() { StartingDate = DateTime.Now; ExpirationDate = StartingDate.AddDays(356); }