示例#1
0
 internal bool Matches(RecSession session)
 {
     if (session.StartTime.Equals(StartTime) &&
         session.DayOfTheWeek().Equals(DayOfTheWeek()))
     {
         return(true);
     }
     return(false);
 }
示例#2
0
 internal bool ExactMatches(RecSession session)
 {
     if (session.SessionDate.Equals(SessionDate) &&
         session.StartTime.Equals(StartTime))
     {
         return(true);
     }
     return(false);
 }