Exemple #1
0
 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);
 }
Exemple #3
0
 private DateTime CalculateEndingDate()
 {
     return(StartingDate.AddDays(30));
 }
Exemple #4
0
 public Catalog()
 {
     StartingDate   = DateTime.Now;
     ExpirationDate = StartingDate.AddDays(356);
 }