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