public bool ConditionMet(ILearningDelivery thisDelivery)
 {
     return(thisDelivery != null &&
            !thisDelivery.LearnActEndDateNullable.HasValue
         ? ProgTypes.WithinMaxmimumOpenTrainingDuration(thisDelivery.LearnStartDate, _fileData.FilePreparationDate())
         : true);
 }
Example #2
0
 public bool ConditionMet(ILearningDelivery thisDelivery)
 {
     return(thisDelivery != null
         ? thisDelivery.LearnStartDate > DateTime.MinValue &&
            ProgTypes.WithinMaxmimumTrainingDuration(thisDelivery.LearnStartDate, thisDelivery.LearnPlanEndDate)
         : true);
 }
Example #3
0
 public void Clear()
 {
     ProgTypes.Clear();
     Providers.Clear();
     SectorSubjectAreaTier1s.Clear();
     SectorSubjectAreaTier2s.Clear();
     Standards.Clear();
     StandardSectorCodes.Clear();
 }
Example #4
0
 public void Clear()
 {
     Apprenticeships.Clear();
     Courses.Clear();
     Frameworks.Clear();
     ProgTypes.Clear();
     Providers.Clear();
     SectorSubjectAreaTier1s.Clear();
     SectorSubjectAreaTier2s.Clear();
     Standards.Clear();
     StandardSectorCodes.Clear();
     Venues.Clear();
 }
Example #5
0
 public bool ConditionMet(ILearningDelivery thisDelivery)
 {
     return(thisDelivery != null && thisDelivery.LearnActEndDateNullable.HasValue
         ? ProgTypes.WithinMaxmimumTrainingDuration(thisDelivery.LearnStartDate, thisDelivery.LearnActEndDateNullable.Value)
         : true);
 }
Example #6
0
 public bool IsViable(ILearningDelivery delivery) =>
 ProgTypes.IsViableApprenticeship(delivery.LearnStartDate);