Exemplo n.º 1
0
 public Horaire(string numGroupe, string numCours, string nomCours, string numLocal,
                string idLocal, string typeLocal, string dateDebut, string heureDebut,
                string dateFin, string heureFin, string numJour)
 {
     this.DateDebut = DateTime.Parse($"{dateDebut}T{heureDebut}");
     this.DateFin   = DateTime.Parse($"{dateFin}T{heureFin}");
     this.Jour      = (JourDeLaSemaine)int.Parse(numJour);
     this.NoGroupe  = numGroupe;
     this.NoCours   = numCours;
     this.NomCours  = nomCours;
     this.NoLocal   = numLocal;
     this.IDLocal   = idLocal;
     this.TypeLocal = typeLocal;
 }
Exemplo n.º 2
0
 public Horaire(string numGroupe, string numCours, string nomCours,
                string numLocal, string idLocal, string typeLocal,
                DateTime dateDebut, DateTime dateFin,
                JourDeLaSemaine jour)
 {
     this.Jour      = jour;
     this.DateDebut = dateDebut;
     this.DateFin   = dateFin;
     this.NoGroupe  = numGroupe;
     this.NoCours   = numCours;
     this.NomCours  = nomCours;
     this.NoLocal   = numLocal;
     this.IDLocal   = idLocal;
     this.TypeLocal = typeLocal;
 }